Re: [PATCH 1/1] mm: sysctl: add panic_on_mm_error sysctl
From: Aaron Tomlin
Date: Mon Jan 27 2020 - 05:55:41 EST
On Mon 2020-01-27 19:42 +0900, Tetsuo Handa wrote:
> On 2020/01/27 19:11, Grzegorz Halat wrote:
> > diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
> > index def074807cee..2fecd6b2547e 100644
> > --- a/Documentation/admin-guide/sysctl/kernel.rst
> > +++ b/Documentation/admin-guide/sysctl/kernel.rst
> > @@ -61,6 +61,7 @@ show up in /proc/sys/kernel:
> > - overflowgid
> > - overflowuid
> > - panic
> > +- panic_on_mm_error
>
> Maybe panic_on_inconsistent_mm is better, for an MM error sounds too generic
> (e.g. is page allocation failure an error, is OOM killer an error,
> is NULL pointer dereference an error, is use-after-free access an error) ?
Fair enough; 'panic_on_inconsistent_mm' is more concise.
--
Aaron Tomlin