lkml.org 
[lkml]   [1998]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Unswappable memory needed is user space

On Tue, 8 Dec 1998 christophe.leroy5@capway.com wrote:

> Is there a way to malloc a non swappable part of memory ?

take a look at mlock(). It needs CAP_IPC_LOCK capability. (which means
root right now)

-- mingo


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2011 Jasper Spaans