On Thu, 27 Sep 2018, Dmitry Vyukov wrote: > On Thu, Sep 27, 2018 at 4:16 PM, Christopher Lameter <cl@xxxxxxxxx> wrote: > > On Thu, 27 Sep 2018, Dmitry Vyukov wrote: > > > >> 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. > >> > > > > Hoe it arrives here at some point. > > It's here: > https://lore.kernel.org/patchwork/patch/992660/ > Please post on the mailing list and NAK to the patch. Testing against KMALLOC_MAX_CACHE_SIZE is not ok.