Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2104611imm; Thu, 27 Sep 2018 07:30:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV6005dyd90itJqzf6ulbicWW8feSMI4Alzoo9W4+fDUm+vccbcbFWSs+4uomYlediJybL0UR X-Received: by 2002:a62:8913:: with SMTP id v19-v6mr11865723pfd.127.1538058636520; Thu, 27 Sep 2018 07:30:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538058636; cv=none; d=google.com; s=arc-20160816; b=tfwzhz1n4wvfVwyB+ZqfNefYYmxLC1crgN66jluX9uA0D0UOQUE6FpbfIlDXOGPyqF +Fp5RVRxMEmPi7c9wfpzwbcqZUpN2hS1DpVzAAHgFQDZ39Z13LQBJ1TD6OC08LqP0va6 LVrUo+XslCQsUKFf1/oqx4LkmS9zZaHAe5+L/lwtv9FMVY0uJnCIwVT15zgxlQfayKvv IeeEtoifn4LvnYlfECZ367OcH4PRHD1keiK3iexat1+pRMaqNN5pgwGwHRDWZG9p4RCg RrxQYA3UPih4GEGQFmRSTtx6xi7U/L1FRlpIy7dxcxO+GpXAEFTzqtoWVWlKJcvbDxfb b5jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=2JPXstb3jFGY09mSuU+vjFgBbqeibpUZ+oSlX/v1qU4=; b=gvE3NP56G0v36V8+bolONKTeGAB+t+reV9CRIZR7si5EqHklb1lISsTnuRrw9CpeXB qdIl9TrnXyjWG6Sdjdbj0b9IxEsWHtskMhhF14ssbk4sotsgNrOWGciUyBcCxh6GQq/w CGeMp4bwW7R1RXmUhb05nwXp7bT8/n1VCFigDI5W0vrbNTUSUDVwY2vo5B84cZT9Wlpc Mz7PbTnMre+6e2bpaY9zOT38ufglK/BYZPvpAbAzMvkuW54vEu5Gdvg1F0bFfxGOkIS8 eT0f91JUG9hswS4leP1ZCHTOCG4gyci5cyzGSUYlNhjZcvmVsMChJ9SoVU7evQYYng9t Yk4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hnwfSA8u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20-v6si2242598plj.261.2018.09.27.07.30.20; Thu, 27 Sep 2018 07:30:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hnwfSA8u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728020AbeI0UrG (ORCPT + 99 others); Thu, 27 Sep 2018 16:47:06 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:51234 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727262AbeI0UrG (ORCPT ); Thu, 27 Sep 2018 16:47:06 -0400 Received: by mail-it1-f194.google.com with SMTP id 74-v6so6434494itw.1 for ; Thu, 27 Sep 2018 07:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2JPXstb3jFGY09mSuU+vjFgBbqeibpUZ+oSlX/v1qU4=; b=hnwfSA8uB3SL7j14wt5lvniIYKXVOc41ePp/Iduf7P2pVhVYq0RbTgJOsts26sqY+3 Bfqd6bAJmhuWD15LRiq8ZN/BbzKXCUigKhkbWUWSD+ZzZ6cC6RC/nUZOd2udyGLDNVpz egqwmWnjghbqaeOH/R1Q73kzDUgwbVorjJYD0otEMzwsZP1QFAxurivx+T7SUYo4NkLS zXoR/8w0Sj/xJCqCtC5XYoBadEKd6SMW7sixPw8Dqc4+ikPevXk4Ou6gH9Knyp8pS3pT 7vIzxu9HSU3IDcQh3hmXAJFp20FOxv9Wa/i14CzEV4DfdZV3hNCkjTctwCrEEfHmEF6T 1uPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2JPXstb3jFGY09mSuU+vjFgBbqeibpUZ+oSlX/v1qU4=; b=DZAcFefD7N1l+bsjP2jXTh0li+qW/JWkL1QPee44MXowC0OCcGifTkT/2mRye2oVNd Uz6Zfn74BngobkeKbtAHiyACXk8wsib/X/bNF3HhUFyiZn5mERI7OssmNY9TjxCHY+0U q7w47Bd/o0vvwSrQ/HnxIBE8id0M299YD0tC/CQlOEjuL+Jf7fZJQw6bMhbs1V5LOApT HA3JRgDu5q2TG9Mtf22k/ZlTrRZLup3HFAxqFYxsegorwES0VVYirjY4ojZU3RKahmlY mrqMK71S2BXDlOCwJNBECgR13oZ2Xne7Iev9kfvNKyMRih2puXREFi/93CQMx8nwPjLy Bv1A== X-Gm-Message-State: ABuFfogVZfM/MWfq1SX42yUVhVuxAT5BAwwvxxsLET0FrpZtaPphtMYJ 1c4rIwt3XAr/G0MXXezSDJ+czK3xq1bZW0lGDBpYCw== X-Received: by 2002:a02:88f7:: with SMTP id b52-v6mr10300472jak.25.1538058513132; Thu, 27 Sep 2018 07:28:33 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:ab8c:0:0:0:0:0 with HTTP; Thu, 27 Sep 2018 07:28:12 -0700 (PDT) In-Reply-To: <010001661b631a3e-f398fc0a-127c-4c6e-b6ca-b2bd63bc4a9a-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> <01000166110bb882-0b1fa048-fe1c-4139-a1ba-702754bbc267-000000@email.amazonses.com> <010001661b631a3e-f398fc0a-127c-4c6e-b6ca-b2bd63bc4a9a-000000@email.amazonses.com> From: Dmitry Vyukov Date: Thu, 27 Sep 2018 16:28:12 +0200 Message-ID: Subject: Re: WARNING: kmalloc bug in input_mt_init_slots To: Christopher Lameter Cc: Dmitry Torokhov , syzbot+87829a10073277282ad1@syzkaller.appspotmail.com, Pekka Enberg , "linux-input@vger.kernel.org" , lkml , Henrik Rydberg , syzkaller-bugs , Linux-MM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 27, 2018 at 4:16 PM, Christopher Lameter wrote: > On Thu, 27 Sep 2018, Dmitry Vyukov wrote: > >> On Tue, Sep 25, 2018 at 4:04 PM, Christopher Lameter 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/