All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
To: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Linux-MM <linux-mm@kvack.org>, Michal Hocko <mhocko@kernel.org>
Subject: [PATCH v2] syzbot: Dump all threads upon global OOM.
Date: Fri, 7 Sep 2018 22:21:06 +0900	[thread overview]
Message-ID: <312c642d-559b-92c7-0377-d98ec416e0bd@i-love.sakura.ne.jp> (raw)
In-Reply-To: <CACT4Y+ZN9ZccjgzUy=8gBntWdau5H1wtLxsh6ZautaTNdMvieQ@mail.gmail.com>

On 2018/09/07 21:57, Dmitry Vyukov wrote:
>> @@ -446,6 +447,10 @@ static void dump_header(struct oom_control *oc, struct task_struct *p)
>>                 if (is_dump_unreclaim_slabs())
>>                         dump_unreclaimable_slab();
>>         }
>> +#ifdef CONFIG_DEBUG_AID_FOR_SYZBOT
>> +       show_state();
>> +       panic("Out of memory");
> 
> won't this panic on every oom?
> we have lots of oom's, especially inside of cgroups, but probably global too
> it would be bad if we crash all machines this way
> 
> 

OK. Here is updated patch.

      reply	other threads:[~2018-09-07 13:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-07 11:23 [PATCH] syzbot: Dump all threads upon OOM Tetsuo Handa
2018-09-07 12:57 ` Dmitry Vyukov
2018-09-07 13:21   ` Tetsuo Handa [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=312c642d-559b-92c7-0377-d98ec416e0bd@i-love.sakura.ne.jp \
    --to=penguin-kernel@i-love.sakura.ne.jp \
    --cc=akpm@linux-foundation.org \
    --cc=dvyukov@google.com \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.