Re: dozens of sysbot reports

From: Linus Torvalds
Date: Fri Sep 03 2021 - 19:11:40 EST


On Fri, Sep 3, 2021 at 4:08 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> It had just added __GFP_NOWARN to hide the fact that it did crazy
> allocations and just wanted the craziest ones to fail silently.

.. and yes, we can make __GFP_NOWARN limit that WARN_ON_ONCE() too,
but the whole point of this really was to actually find people who
simply didn't check their arguments. So I'd rather add a few sanity
checks, than say "__GFP_NOWARN silences the sanity check too".

Linus