From: Robert Love <rml@tech9.net>
To: Marc-Christian Petersen <m.c.p@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4 kernel series and the oom_killer and /proc/sys/vm/overcommit_memory
Date: 22 Aug 2002 13:22:27 -0400 [thread overview]
Message-ID: <1030036948.857.3186.camel@phantasy> (raw)
In-Reply-To: <200208221719.50568.m.c.p@gmx.net>
On Thu, 2002-08-22 at 11:19, Marc-Christian Petersen wrote:
> My question now: Why isn't it possible, if overcommit_memory is 0, to really
> check if there is enough memory or not, and if NOT just to display a message
> like "Not enough memory for execution. Aborted" ?
Because the overcommit checks in 2.4 stock are heuristic in nature -
they simple compare an estimate of committed memory against what you are
trying to allocate.
In 2.5 and 2.4-ac we have strict overcommit which couple accurate
accounting of the committed address space with stricter rules to prevent
overcommit.
Robert Love
next prev parent reply other threads:[~2002-08-22 17:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-22 15:19 Marc-Christian Petersen
2002-08-22 17:22 ` Robert Love [this message]
2002-08-22 17:32 ` Alan Cox
2002-08-24 2:07 ` Daniel Phillips
2002-08-24 3:46 ` Rik van Riel
2002-08-24 13:42 ` Daniel Phillips
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=1030036948.857.3186.camel@phantasy \
--to=rml@tech9.net \
--cc=linux-kernel@vger.kernel.org \
--cc=m.c.p@gmx.net \
/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
all inboxes | Powered by JetHome®