Re: [PATCH] strict VM overcommit for stock 2.4

Robert Love (rml@tech9.net)
19 Jul 2002 11:06:33 -0700


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/