Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2012132imm; Thu, 27 Sep 2018 06:10:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV61P/SWlP/kwZNfdC7LcqLFlna39sG11NBxvL59PvVJDw6nuy+/gdxswU8CHlVXAsz8VPuN+ X-Received: by 2002:a62:b209:: with SMTP id x9-v6mr11592652pfe.148.1538053858063; Thu, 27 Sep 2018 06:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538053858; cv=none; d=google.com; s=arc-20160816; b=xCTBmTQtcieJ3xj1r1t6tuDjx3nWFph+2i09eI0PyTRixLIhcV/QupdRzztXXyFVXo YeiQ/rgRo+mK9oY391tytMS5vbtCerjHKUbFFY2FZhoDmGIcvGVqdi/dnqCz1gAT2obx XqIXHViHMFAxAS9Nl04+Occp8nCynvVUQjN06hyMvOnd6sHBq6wI4Af9g4s40ZON7xsR FcGs8x7WBFbtg6VBuxUYc87EfVOMpLAgMFIt2HZswtil9Yu1SdcQ1CenZzXzNQADCvRR q0M3UJ5MI5ZUCgxzhsven3vcxd4Bd+fgxulZJDoLxbquf33RJ8arBBzOpFqLSbhawOh2 07+Q== 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=SrKuDVS7DclTQSqUDMmGvliPjeTUGz/gCPUuZHfV6KA=; b=0AMuPp6Cm2FQ6WG+yaS7acuR0X7Xl+oXPB1mJ/7tYHlY4waIxPNTnq3L9ey7DHiSV5 yB1ZNOI3HlFH6I5uxW5xN7PacwCULQqNE0F72kp20mjeg2pF059CD8R+j3k46Zygg3Ml 1680hR9Uua64uPH4AXEK5gAEGR23jJji4eQMqejM8pMQk8kP+6XuLmU1VVJmE7cPoNO0 gFrnszI1kUFtNMyn6Ab7xzhUPFPexjB6f+EWLtzz4kIFwS0VeSlcGlCT8iDv2yZBDQbi m4e4rUiLh/23vFYWMXswpWzQgmsEQbpyUtiRAofh3Ao/6+0ObpIZK7Go62TQfw6BwDjC KQkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FfO2gH0t; 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 j18-v6si1948569pgk.355.2018.09.27.06.10.40; Thu, 27 Sep 2018 06:10:58 -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=FfO2gH0t; 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 S1727335AbeI0T0b (ORCPT + 99 others); Thu, 27 Sep 2018 15:26:31 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:37956 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbeI0T0b (ORCPT ); Thu, 27 Sep 2018 15:26:31 -0400 Received: by mail-it1-f193.google.com with SMTP id p129-v6so7566282ite.3 for ; Thu, 27 Sep 2018 06:08:20 -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=SrKuDVS7DclTQSqUDMmGvliPjeTUGz/gCPUuZHfV6KA=; b=FfO2gH0tVyyU2N8o68kTEb5a+Boat/SGGV1oCfwrBVUQiyyGs8Gq2KMsiBUkbuQmQp 3xuKf78lQ5LUFglapSAitTCF9vQ9vDF0qXjFsEjcYKYIbXHnaRM/ETiyHKOJcW55QAfO t6xRBkxPAmeINPUL4Awp8uIyJkush5mezxP1kWqHeKar17b8ULmAgA9bA1x3W53EpMk3 nZgLwyligDpDru3eokJCbdx3yIY4LDXJTozUaCBnGBC4Q6W+s43nPfXwH/wtH/ErCpyw diU2yqPF3Rmfn1GWfaR9tMefTSLCPoVVfaus+zs8zLRWi6OSVoLcI7Swc8hKkxIXPpoj KXmg== 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=SrKuDVS7DclTQSqUDMmGvliPjeTUGz/gCPUuZHfV6KA=; b=qJoeh1I3otUqvjBNcNvJV07Z7/Wnb9gwKvlx6F1JUweVFhaAY+uZAF0EGMo5eAX8w/ UDTaTFdPJMsYgR0wHd68FFCZYFwnYqvoBqpopDDkFWyTOs9yh3O29s2LHdktIw2SLbfi lOZ+sxY9HTuHAqdZx7hiNUdt8/az8K95oLbCXJk+xot0vpf73evqfhWFW6eP9BXxlntl agbQNvhO288sNFXMStcziC1lVJJaoPe8IlU7jTA7cjRSO8k8uvKJuzTXgsNh+7PQqbnz pjwMEzj574+zIR+YsKVhXBvTw2irWq2xC7DqTrk+mjCH0L4MofLkjnKdDzbbK+hkkv6l /thg== X-Gm-Message-State: ABuFfog/fPeSN3WixgW4MVNigdmV2p+0RyJ7NgQk55KzouC3QLE0z5fZ Fj2nXpHG97Ews25RNq2/KLONPA8+HmkK0+NNx/5OsQ== X-Received: by 2002:a02:4009:: with SMTP id n9-v6mr10000085jaa.19.1538053699577; Thu, 27 Sep 2018 06:08:19 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:ab8c:0:0:0:0:0 with HTTP; Thu, 27 Sep 2018 06:07:59 -0700 (PDT) In-Reply-To: <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> <01000166110bb882-0b1fa048-fe1c-4139-a1ba-702754bbc267-000000@email.amazonses.com> From: Dmitry Vyukov Date: Thu, 27 Sep 2018 15:07:59 +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 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.