Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2171803imm; Thu, 27 Sep 2018 08:30:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV63ejBd7YVFU272zfi+Tfung3iMwrojV/XuyeVHbsM2AEK4YDGpWtMEA0oX0JNUCMYo14Lv1 X-Received: by 2002:a17:902:b78c:: with SMTP id e12-v6mr11632508pls.67.1538062239099; Thu, 27 Sep 2018 08:30:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538062239; cv=none; d=google.com; s=arc-20160816; b=zV4ToLkICWEuMarBW2o1tvLmzj1rxika/wXNsOi87Z1oAFbAdLIiGrjvf7vb8noF3o 3DyiIylTErLnThrLNGpzfQMV+fXGLEkC2gXBLjUSdDaDlD3GHKJpa3RkA8RqYFiVV8SX YhZmGoaEvFW+Hj0tGI2z0Nduw8bpF89v9SR+QNkT1lGpnIvxLVqOa/PYVkbiZf8jRMxS 1e0HlaAgpg4+xacp63Cb2dugJOxQifQR2L49wd20bfWADyLq1Ny6k+iz86YvmG4HFULd vvykKlGNJh5Kk3RJhNDKaofROY+rx4bAR0DBl2wEGN8lGcf9Ts6mpnOjgTd+u3r51Zva XNBQ== 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=gDAAVo2wgpXEmXUntL4MPEE7CPihZnVOn4l/xFoHHs4=; b=RYwilLCgXmUlPJxXdNS8CiEYR6tGE4vyEiK6w1uLpwVTZyav83LdnSZsj9RpPZRiRJ womqcUcAg90NfkVljf80WsrjKXcfJujQ6OS04WlKWZ3UZKoRXXb69A/7DYqEon7VbU6K eGumonh9GDEI46dV8+GWIuA/dMdVl/2c1kQtJW31c2vH1NE9udrtVlvcip5nneJZIsHz SdNWDmvp8HKacSK8JndGJhZB5bgzxrs56P5u7Yj/n7gRlS6EPskA1ZPaO0qicggDehgW 8CpradOeWnapoJgmbEwQdEa3bZ6Mfj8hCC1k469KkyoICvZUteS1HrkuMPZ5XIL39Hae GAKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YhL3iPA4; 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 q11-v6si2253013plr.216.2018.09.27.08.30.22; Thu, 27 Sep 2018 08:30:39 -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=YhL3iPA4; 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 S1727480AbeI0VsU (ORCPT + 99 others); Thu, 27 Sep 2018 17:48:20 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:47095 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727435AbeI0VsU (ORCPT ); Thu, 27 Sep 2018 17:48:20 -0400 Received: by mail-io1-f65.google.com with SMTP id y12-v6so2189065ioj.13 for ; Thu, 27 Sep 2018 08:29:32 -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=gDAAVo2wgpXEmXUntL4MPEE7CPihZnVOn4l/xFoHHs4=; b=YhL3iPA4Xb3/+RBkJxG/w66jaG3I+kdBMJnEaSraiT70ImG1dsOxAkR4cTC7E1qr6a NLFWeTqKWP5Jq3xOT99HanjBOYs6JtxM841I13VhLZ64+lRImx0AmYfsrGTw/ztxYIWe uaJW87bX2NbJx/zDXL75HZ0Ef3QhU8/bGYeOmgYv9KhxJ4lk120wuYncUa5shae1iMbV N5gK8pCGgwXnuSNi59j1kr41cISrzT/l0k+FMSSTWRrHWTeBKx4bGX9voBau5Xv6cUX8 UZ9wxi+JxtBfhIe/IvXkt1OPVjdzYpMXFpLa8vdMpWT6QBOE8/9wEe4eVNg5uHVHSBYT LhSA== 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=gDAAVo2wgpXEmXUntL4MPEE7CPihZnVOn4l/xFoHHs4=; b=pgaW84995JcLCUq1/8b0bZ+J0ROHDUOZFup1tWu1QVy1mfcgX7EhrHi21Q8yCLkuVj XH/Jo+P9dB2H62MWpzcr3PyU900RXayT875QZatGCs71pnJvaFXvgbyy99FAHaJZlUCF brE/bpTN5CdyyAILIVZ0eYRg+WnxJyHVcPd1/dGov0l37ygrJuo5wIQ924HwPD09uskj b7HihUdD2el9uMERB/fKYwhzs4oqkCpXu3zHVt44cijOoaQgdM07rKykgnMs4idsFg1v mfvEKNLV/08QaIOYTu61nVJT+Ynk12WFUPZHnRV1Jnmr7Jk5/3qJ1h0WtdhOzH5cAmVR 5KNA== X-Gm-Message-State: ABuFfog/GX6989L8+iqZyST3dNj+38AZ5W3b13KYFeDWr4xiQCUGiIZc y4ay3jfw87nVARbFMpmeWtnW3JwYVWuNCKd/JmCoKg== X-Received: by 2002:a6b:6209:: with SMTP id f9-v6mr9056979iog.11.1538062171935; Thu, 27 Sep 2018 08:29:31 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:ab8c:0:0:0:0:0 with HTTP; Thu, 27 Sep 2018 08:29:11 -0700 (PDT) In-Reply-To: <010001661b9fad1d-cdbfabdb-5553-446f-bcde-585e42837415-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> <010001661b9fad1d-cdbfabdb-5553-446f-bcde-585e42837415-000000@email.amazonses.com> From: Dmitry Vyukov Date: Thu, 27 Sep 2018 17:29:11 +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 5:22 PM, Christopher Lameter wrote: > On Thu, 27 Sep 2018, Dmitry Vyukov wrote: > >> 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/ >> > > Please post on the mailing list It is on the mailing lists: https://lkml.org/lkml/2018/9/27/802 > and NAK to the patch. Testing against > KMALLOC_MAX_CACHE_SIZE is not ok. Why?