From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
clameter@engr.sgi.com, riel@redhat.com, dgc@sgi.com
Subject: Re: [PATCH] support for panic at OOM
Date: Wed, 12 Apr 2006 16:06:19 +0900 [thread overview]
Message-ID: <20060412160619.31a3c027.kamezawa.hiroyu@jp.fujitsu.com> (raw)
In-Reply-To: <20060411235907.6a59ecba.akpm@osdl.org>
Hi,
On Tue, 11 Apr 2006 23:59:07 -0700
Andrew Morton <akpm@osdl.org> wrote:
> KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> >
> > This patch adds a feature to panic at OOM, oom_die.
>
> Makes sense I guess.
>
Thanks,
> > @@ -718,6 +719,14 @@ static ctl_table vm_table[] = {
> > .proc_handler = &proc_dointvec,
> > },
> > {
> > + .ctl_name = VM_OOM_DIE,
> > + .procname = "oom_die",
>
> I'd suggest it be called "panic_on_oom". Like the current panic_on_oops.
>
I'll chage.
> > +int sysctl_oom_die = 0;
>
> The initialisation is unneeded.
>
Okay,
> > + if (sysctl_oom_die)
> > + oom_die();
>
> I don't think we need a separate function for this?
>
Hmm.. okay. I'll put panic("Panic: out of memory: panic_on_oom is 1.") directly.
> Please document the new sysctl in Documentation/sysctl/.
>
I'll do.
Thanks,
-Kame
--
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>
next prev parent reply other threads:[~2006-04-12 7:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-12 6:53 KAMEZAWA Hiroyuki
2006-04-12 6:59 ` Andrew Morton
2006-04-12 7:06 ` KAMEZAWA Hiroyuki [this message]
2006-04-12 8:23 ` KAMEZAWA Hiroyuki
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=20060412160619.31a3c027.kamezawa.hiroyu@jp.fujitsu.com \
--to=kamezawa.hiroyu@jp.fujitsu.com \
--cc=akpm@osdl.org \
--cc=clameter@engr.sgi.com \
--cc=dgc@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=riel@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