Re: can't mlockall() more than 128MB, is this a kernel limitiation ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 7 Aug 2000 12:58:06 +0100 (BST)


> I'm still convinced that this global, adjustable mlock limit is needed:
> something like this:
>
> if (locked > (mlockable_pages) )
> goto out;
>
> if the user (root) REALLY want to mlock all memory (and risk a crash) ,
> he can set mlockable_pages = num_physpages ,

I'd agree. I've no problem with it being in /proc/sys/vm

-
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/