From: Pascal Schmidt <der.eremit@email.de>
To: "Ihar 'Philips' Filipau" <filia@softhome.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.23-rc5
Date: Tue, 25 Nov 2003 18:15:21 +0100 [thread overview]
Message-ID: <E1AOgmX-0000Oz-00@neptune.local> (raw)
In-Reply-To: <VOyg.w9.11@gated-at.bofh.it>
On Tue, 25 Nov 2003 17:50:20 +0100, you wrote in linux.kernel:
> "overcommit_memory < 0" supposed to not allow apps to overallocate
> memory - but still it works not like it is said in
> Documentation/filesystems/proc.txt.
Actually, looking at vm_enough_memory in mm/mmap.c in 2.4, which seems to
be the only user of sysctl_overcommit_memory, it is just used directly in
an if clause:
if (sysctl_overcommit_memory)
return 1;
This means any value different from 0 will turn overcommit on, no matter
whether positive or negative value.
Documentation bug, I would say.
--
Ciao,
Pascal
next prev parent reply other threads:[~2003-11-25 17:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <VOyg.w9.13@gated-at.bofh.it>
[not found] ` <VOyg.w9.11@gated-at.bofh.it>
2003-11-25 17:07 ` Pascal Schmidt
2003-11-26 9:18 ` Ihar 'Philips' Filipau
2003-11-25 17:15 ` Pascal Schmidt [this message]
[not found] <VK1t.6TB.1@gated-at.bofh.it>
2003-11-25 16:34 ` Ihar 'Philips' Filipau
2003-11-25 11:42 Marcelo Tosatti
2003-11-25 13:34 ` Marcos D. Marado Torres
2003-11-25 19:04 ` Mike Fedyk
2003-11-25 20:06 ` Marcelo Tosatti
2003-11-26 2:01 ` William Lee Irwin III
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=E1AOgmX-0000Oz-00@neptune.local \
--to=der.eremit@email.de \
--cc=filia@softhome.net \
--cc=linux-kernel@vger.kernel.org \
/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®