Linux-kernel mailing list archive 1999-37,: Re: mlockability

# Re: mlockability

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Miquel van Smoorenburg: "Oops in 2.2.12-pre7"
- Previous message: Alan Cox: "Re: [PATCH] 2.3.18: siginfo data available for all signals"
- Next in thread: Martin Mares: "Re: mlockability"
- Reply: Martin Mares: "Re: mlockability"

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

- Next message: Miquel van Smoorenburg: "Oops in 2.2.12-pre7"
- Previous message: Alan Cox: "Re: [PATCH] 2.3.18: siginfo data available for all signals"
- Next in thread: Martin Mares: "Re: mlockability"
- Reply: Martin Mares: "Re: mlockability"