linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: CAI Qian <caiqian@redhat.com>
Cc: linux-mm <linux-mm@kvack.org>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: continuous oom caused system deadlock
Date: Wed, 8 Dec 2010 13:48:20 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.2.00.1012081344490.15658@chino.kir.corp.google.com> (raw)
In-Reply-To: <1334413603.521181291831873850.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>

On Wed, 8 Dec 2010, CAI Qian wrote:

> Bisect indicated that this is the first bad commit,
> 
> commit 696d3cd5fb318c070dc757fe109e04e398138172
> Author: David Rientjes <rientjes@google.com>
> Date:   Fri Jun 11 22:45:17 2010 +0200
> 
>     __out_of_memory() only has a single caller, so fold it into
>     out_of_memory() and add a comment about locking for its call to
>     oom_kill_process().
>     
>     Signed-off-by: David Rientjes <rientjes@google.com>
>     Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
>     Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
>     Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> 

This commit dropped the releasing of tasklist_lock when the oom killer 
chooses not to act because it finds another task that has already been 
killed but has yet to exit.  That's fixed by b52723c5, so this bisect 
isn't the source of your problem.

You didn't report the specific mmotm kernel that this was happening on, so 
trying to diagnose or reproduce it is diffcult.  Could you try 2.6.37-rc5 
with your test case?  If it works fine, could you try 
mmotm-2010-12-02-16-34?

--
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/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2010-12-08 21:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <254859941.6601291447527808.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>
2010-12-04  7:30 ` caiqian
2010-12-08 18:11   ` CAI Qian
2010-12-08 21:48     ` David Rientjes [this message]
     [not found] <1390696678.561621291861499485.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>
2010-12-09  2:52 ` caiqian
2010-12-09 21:34   ` David Rientjes
     [not found] <1541018294.686981291944921430.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>
2010-12-10  1:36 ` caiqian
2010-12-11  0:30   ` David Rientjes
2010-12-17  4:16     ` CAI Qian

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.1012081344490.15658@chino.kir.corp.google.com \
    --to=rientjes@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=caiqian@redhat.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=linux-mm@kvack.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