[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash



On 2004-05-06 12:25:19 -0400, Daniel Jacobowitz wrote:
> Overcommit does not work properly in 2.4, though.  GOTO-san is right -
> from your description you want strict overcommit, i.e. the value of 2
> for this flag.  Some of the 2.4-ac kernels had this.  So does 2.6.

This is strange, because 3 different users[*] told me that the 2.4
kernel was OK for me. And according to the 2.4 vm.txt documentation,
setting the overcommit_memory flag to 0 in the 2.4 kernel should be
sufficient (otherwise the documentation is plainly wrong).

[*] Msgid <Pine.LNX.4.33.0403151627540.2144-100000@patchwork.seclogd.org>
and <pxbfzc8kgos.fsf@news.bourguet.org> for the first two, and in a
private forum for the last one (and this one said that this was working
in the past with an official 2.4 kernel, i.e. non-patched).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: