Re: 2.2/2.4/2.6 VMs: do malloc() ever return NULL?
From: Rik van Riel (riel_at_redhat.com)
Date: 11/25/03
- Previous message: Guillaume Chazarain: "Still some mouse problems with -test10"
- In reply to: Ihar 'Philips' Filipau: "Re: 2.2/2.4/2.6 VMs: do malloc() ever return NULL?"
- Next in thread: Chris Wright: "Re: 2.2/2.4/2.6 VMs: do malloc() ever return NULL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 25 Nov 2003 14:24:41 -0500 (EST) To: "Ihar 'Philips' Filipau" <filia@softhome.net>
On Tue, 25 Nov 2003, Ihar 'Philips' Filipau wrote:
> > # echo 2 > /proc/sys/vm/overcommit_memory
> >
> > Then try again.
>
> What do you know what is not said in docs?
> What '2' means?
Strict non-overcommit mode. You can allocate as much
non-file-backed virtual memory as will fit in swap,
plus /proc/sys/vm/overcommit_percentage worth of memory.
> this is what 2.6-test10 says:
OK, outdated docs.
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Guillaume Chazarain: "Still some mouse problems with -test10"
- In reply to: Ihar 'Philips' Filipau: "Re: 2.2/2.4/2.6 VMs: do malloc() ever return NULL?"
- Next in thread: Chris Wright: "Re: 2.2/2.4/2.6 VMs: do malloc() ever return NULL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|