From: Robert Love <rml@tech9.net>
To: root@chaos.analogic.com
Cc: Szakacsits Szabolcs <szaka@sienet.hu>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] strict VM overcommit for stock 2.4
Date: 18 Jul 2002 12:22:59 -0700 [thread overview]
Message-ID: <1027020179.1085.150.camel@sinai> (raw)
In-Reply-To: <Pine.LNX.3.95.1020718150735.1373A-100000@chaos.analogic.com>
On Thu, 2002-07-18 at 12:19, Richard B. Johnson wrote:
> Okay then. When would it be useful? I read that it would be useful
> in embedded systems, but everything that will ever run on embedded
> systems is known at compile time, or is uploaded by something written
> by an intelligent developer, so I don't think it's useful there. I
> 'do' embedded systems and have never encountered OOM.
I work for an embedded systems company and our customers do have OOM
problems. The problem is not so much that they _do_ OOM but that they
_can_ - killing a random process is the last thing they want.
Same issue with HA etc... its not preventing OOM so much as being
prepared for it, by pushing the failures into the allocation routines
and out from the page access.
Certainly Alan and RedHat found a need for it, too. It should be pretty
clear why this is an issue...
> I keep seeing the same thing about protecting root against fork and
> malloc bombs and I get rather "malloc()" about it. All distributions
> I have seen, so far, come with `gcc` and `make`. The kiddies can
> crap all over their kernels at their heart's content. I don't think
> Linux should be reduced to the lowest common denominator.
This is the argument I was making before -- I do not think strict
overcommit should solve this problem (nor can it fully). This is a
problem to be solved by per-user resource limits.
It is not an issue I care much for either, but this is more than just a
"kiddies" issue. Unbounded memory growth can happen without evil
intentions and in places e.g. like a university shell server it is
important to protect against.
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/
next prev parent reply other threads:[~2002-07-18 19:22 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-11 22:28 [PATCH] strict VM overcommit Robert Love
2002-07-12 17:30 ` [PATCH] strict VM overcommit for stock 2.4 Robert Love
2002-07-18 15:22 ` Szakacsits Szabolcs
2002-07-18 16:31 ` Robert Love
2002-07-18 16:36 ` Szakacsits Szabolcs
2002-07-18 17:42 ` Robert Love
2002-07-18 17:25 ` Szakacsits Szabolcs
2002-07-18 17:31 ` Szakacsits Szabolcs
2002-07-18 18:32 ` Robert Love
2002-07-18 19:58 ` Alan Cox
2002-07-18 18:01 ` Szakacsits Szabolcs
2002-07-18 18:52 ` Robert Love
2002-07-18 20:52 ` Alan Cox
2002-07-19 6:17 ` Szakacsits Szabolcs
2002-07-18 22:22 ` Rik van Riel
2002-07-19 7:47 ` Szakacsits Szabolcs
2002-07-18 18:28 ` Robert Love
2002-07-18 17:50 ` Szakacsits Szabolcs
2002-07-18 19:25 ` stoffel
2002-07-19 5:52 ` Szakacsits Szabolcs
2002-07-18 18:56 ` Richard B. Johnson
2002-07-18 19:03 ` Robert Love
2002-07-18 19:19 ` Richard B. Johnson
2002-07-18 19:22 ` Robert Love [this message]
2002-07-18 20:49 ` Alan Cox
2002-07-19 16:49 ` Amit Shah
2002-07-19 17:16 ` Robert Love
2002-07-20 5:02 ` Amit Shah
2002-07-18 19:10 ` Robert Love
2002-07-18 19:35 ` Richard B. Johnson
2002-07-18 19:41 ` Daniel Gryniewicz
2002-07-18 20:23 ` Richard B. Johnson
2002-07-18 20:43 ` Daniel Gryniewicz
2002-07-19 7:30 ` Szakacsits Szabolcs
2002-07-19 18:06 ` Robert Love
2002-07-18 22:24 ` Rik van Riel
2002-07-18 22:30 ` Robert Love
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1027020179.1085.150.camel@sinai \
--to=rml@tech9.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=root@chaos.analogic.com \
--cc=szaka@sienet.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox