Thread (37 messages) 37 messages, 8 authors, 2002-07-20

Re: [PATCH] strict VM overcommit for stock 2.4

From: Robert Love <hidden>
Date: 2002-07-19 18:03:55
Also in: lkml

On Fri, 2002-07-19 at 00:30, Szakacsits Szabolcs wrote:
*However* distinguishing root and non-root users also in strict VM
overcommit would make a significant difference for general purpose
systems, this was always my point.

Can you see the non-orthogonality now?
Nope, I still disagree and there is no point going back and forth.

We both agree that there are situations where both resource accounting
(or some sort of root-protection like you want) and strict overcommit is
required.

I contend there are situations where only one or the other is needed.

More importantly, I argue the two things should be kept separate. 
Putting some root safety net into strict accounting is a hack (how much
of a net? etc.).  You want to keep users from ruining things - get
per-user resource limits.  You want to keep the machine from
overcommiting memory and thus not OOMing?  Get strict accounting.  You
want both?  Use both.

I provided the first piece.

	Robert Love

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help