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

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Aug 08 2000 - 15:32:01 EST


Followup to: <20000808162724.D23518@atrey.karlin.mff.cuni.cz>
By author: Pavel Machek <pavel@suse.cz>
In newsgroup: linux.dev.kernel
>
> Yes. And with check they need _two_ such processes to crash the
> machine, no? Okay, perhaps we can raise limit do 9/10 or total_memory
> - 16Meg; that should prevent them ranting ;-).
> Pavel

The check should be done on the total amount of memory mlocked in the
system. This may be something that we can't do until we have the
beancounter.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

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



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:16 EST