Re: mlockability

Martin Mares (mj@ucw.cz)
Wed, 15 Sep 1999 22:55:26 +0200


Hi Alan,

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

If you create 4096 processes, their task_structs take 32MB themselves,
page tables will take another large amount of unswappable memory. Given
that, the 16 megabytes which can be eaten by mlock()ing don't seem to
cause much more harm.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"System going down at 1:45 for disk crashing."

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