Re: Unswappable memory needed is user space

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Tue, 8 Dec 1998 18:13:19 +0100 (CET)


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/