Re: [PATCH] Patch to Memory Subsystem ... (Needed?)

Stephen C. Tweedie (sct@redhat.com)
Tue, 10 Nov 1998 13:57:56 GMT


Hi,

On Sat, 07 Nov 1998 09:55:41 +0100, Brian Schau <bsc@fleggaard.dk> said:

> I'm not only looking for an upgrade-solution. I'm trying to solve what
> I think is a problem. In my world, ordinary users shouldn't be able to
> bring a system down by exhausting all available memory. I think that
> Linux is giving out to much memory to ordinary users - it should reserve
> some memory solely for root in case root has to "clean up" things ...
> If I am wrong, please educate me! But no flames, please ...

Keeping significant amounts of memory free just-in-case seems
pointless. Keeping *virtual* memory free (in other words, reserving
swap space) to make sure that root can start more processes may make
sense. Providing resident set limits and guarantees to make sure that
new root processes can run if they want to even under memory load makes
sense. But simply keeping physical memory free doesn't seem to be a
good idea: it's just too high a price for things we can achieve using
different means.

--Stephen

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