From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by kanga.kvack.org (Postfix) with ESMTP id 643EB8E0072 for ; Tue, 25 Sep 2018 10:04:34 -0400 (EDT) Received: by mail-qk1-f198.google.com with SMTP id v65-v6so25774670qka.23 for ; Tue, 25 Sep 2018 07:04:34 -0700 (PDT) Received: from a9-112.smtp-out.amazonses.com (a9-112.smtp-out.amazonses.com. [54.240.9.112]) by mx.google.com with ESMTPS id g35-v6si685708qtd.208.2018.09.25.07.04.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Sep 2018 07:04:33 -0700 (PDT) Date: Tue, 25 Sep 2018 14:04:32 +0000 From: Christopher Lameter Subject: Re: WARNING: kmalloc bug in input_mt_init_slots In-Reply-To: Message-ID: <01000166110bb882-0b1fa048-fe1c-4139-a1ba-702754bbc267-000000@email.amazonses.com> References: <000000000000e5f76c057664e73d@google.com> <010001660c1fafb2-6d0dc7e1-d898-4589-874c-1be1af94e22d-000000@email.amazonses.com> <010001660c4a8bbe-91200766-00df-48bd-bc60-a03da2ccdb7d-000000@email.amazonses.com> <20180924184158.GA156847@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Dmitry Vyukov Cc: Dmitry Torokhov , syzbot+87829a10073277282ad1@syzkaller.appspotmail.com, Pekka Enberg , "linux-input@vger.kernel.org" , lkml , Henrik Rydberg , syzkaller-bugs , Linux-MM 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.