Re: mlockability

H. Peter Anvin (hpa@transmeta.com)
15 Sep 1999 20:32:48 GMT


Followup to: <14303.59058.692820.706785@dukat.scot.redhat.com>
By author: "Stephen C. Tweedie" <sct@redhat.com>
In newsgroup: linux.dev.kernel
>
> > 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.
>
> It needs to be per-user, not just per-process, but yes this would be a
> useful thing to do. The beancounter patches floating about already
> implement a lot of the necessary framework for this.
>

Also, presumably there is a good reason to have mlock() be a
capability.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!

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