From: Christoph Lameter <clameter@sgi.com>
To: Larry Woodman <lwoodman@redhat.com>
Cc: linux-mm@kvack.org
Subject: Re: sysctl_panic_on_oom broken
Date: Tue, 17 Apr 2007 14:27:14 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0704171426010.7409@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <46250EB1.9010707@redhat.com>
On Tue, 17 Apr 2007, Larry Woodman wrote:
> out_of_memory() does not panic when sysctl_panic_on_oom is set
> if constrained_alloc() does not return CONSTRAINT_NONE. Instead,
> out_of_memory() kills the current process whenever constrained_alloc()
> returns either CONSTRAINT_MEMORY_POLICY or CONSTRAINT_CPUSET.
> This patch fixes this problem:
The patch recreates the problem that the system may OOM
although lots of memory is still free. Constrained allocation means that
the allocation was only to a portion of system memory. The rest may be
free. No reason to oom.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2007-04-17 21:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-17 18:15 Larry Woodman
2007-04-17 21:27 ` Christoph Lameter [this message]
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=Pine.LNX.4.64.0704171426010.7409@schroedinger.engr.sgi.com \
--to=clameter@sgi.com \
--cc=linux-mm@kvack.org \
--cc=lwoodman@redhat.com \
/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