[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f8ff6148-2775-4465-809b-36a4e5a4c403@redhat.com>
Date: Mon, 26 Sep 2022 10:28:26 +0200
From: David Hildenbrand <david@...hat.com>
To: Matthew Wilcox <willy@...radead.org>,
Pasha Tatashin <pasha.tatashin@...een.com>
Cc: akpm@...ux-foundation.org, corbet@....net, linux-mm@...ck.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
rick.p.edgecombe@...el.com
Subject: Re: [PATCH 2/3] mm/page_table_check: Do WARN_ON instead of BUG_ON by
default
On 11.09.22 18:08, Matthew Wilcox wrote:
> On Sun, Sep 11, 2022 at 09:59:22AM +0000, Pasha Tatashin wrote:
>> Currently, page_table_check when detects errors panics kernel. Instead,
>> print a warning, and panic only when specifically requested via kernel
>> parameter:
>>
>> page_table_check=panic
>
> Why are the page table checks so special that they deserve their own
> command line parameter? Why shouldn't this be controlled by the usual
> panic_on_warn option?
>
I agree.
https://lkml.kernel.org/r/20220923113426.52871-2-david@redhat.com
Use of WARN_ON_ONCE is the way to go nowadays.
--
Thanks,
David / dhildenb
Powered by blists - more mailing lists