Re: mlockability

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 15 Sep 1999 15:50:35 +0100 (BST)


> Couldn't there be a kernel option (maybe tunable by /proc/something)
> through wich the kernel could grant a limited amount of mlock-able
> memory for each non-root process? This could default to 0 but be
> increased when sensitive software is being used.

You would probably want it to be per user. If you allow one page per
process then you allow potentially 16Mb of lockable mmory per user 8(

Patches accepted 8)

Alan

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