Re: WARNING: kmalloc bug in input_mt_init_slots

From: Dmitry Vyukov
Date: Thu Sep 27 2018 - 09:08:22 EST


On Tue, Sep 25, 2018 at 4:04 PM, Christopher Lameter <cl@xxxxxxxxx> wrote:
> On Tue, 25 Sep 2018, Dmitry Vyukov wrote:
>
>> Assuming that the size is large enough to fail in all allocators, is
>> this warning still useful? How? Should we remove it?
>
> Remove it. It does not make sense because we check earlier if possible
> without the warn.

Mailed "mm: don't warn about large allocations for slab" to remove the warning.