[lkml]   [2002]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4 kernel series and the oom_killer and /proc/sys/vm/overcommit_memory
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

Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.040 / U:12.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site