From: David Rientjes <rientjes@google.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: npiggin@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [patch] oom: prevent livelock when oom_kill_allocating_task is set
Date: Thu, 30 Apr 2009 15:58:21 -0700 (PDT) [thread overview]
Message-ID: <alpine.DEB.2.00.0904301558020.13061@chino.kir.corp.google.com> (raw)
In-Reply-To: <20090430154920.64c9c866.akpm@linux-foundation.org>
On Thu, 30 Apr 2009, Andrew Morton wrote:
> > When /proc/sys/vm/oom_kill_allocating_task is set for large systems that
> > want to avoid the lengthy tasklist scan, it's possible to livelock if
> > current is ineligible for oom kill. This normally happens when it is set
> > to OOM_DISABLE, but is also possible if any threads are sharing the same
> > ->mm with a different tgid.
>
> OK... And how does the patch address this problem?
>
> <reads the code>
>
> Seems that if we were unable to kill `current', we'll ignore the
> oom_kill_allocating_task setting and will fall back the slow tasklist
> scan?
>
Yes, sorry. The annotated changelog you have added to -mm is correct,
thanks.
prev parent reply other threads:[~2009-04-30 22:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-30 22:38 David Rientjes
2009-04-30 22:49 ` Andrew Morton
2009-04-30 22:58 ` David Rientjes [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=alpine.DEB.2.00.0904301558020.13061@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=npiggin@suse.de \
/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®