Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4954004ybi; Tue, 30 Jul 2019 11:05:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxniA9tsYd7MvhJtLKafZQ9Kp5xTyOH/HlWZFTkkyHnUcdzI/D+52+45pIphpmNLfq7oDq8 X-Received: by 2002:a63:9e43:: with SMTP id r3mr86035598pgo.148.1564509916539; Tue, 30 Jul 2019 11:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564509916; cv=none; d=google.com; s=arc-20160816; b=TYTqD2PJwG7TRHa+ZMWMLa3Gzv2NSk1SUlPd9exEKp6ZvjFLcXsO+wN4sajBt78xMc 1nX8clRkA7rjRIDO/P4SNdJaWjAjMA9SJp0Q3f40t5N7o3VhBfW0AVVIzKkb3hSAY67b DiUOQaRfQxyhxOaGdk8F/lVghVTj/+oHWRpiy5YgVLNOWeIi1y4feU5QnB0p6BZYcNZl MEiJADVXbTA2xnvhDEyngojGZB7jS7PoP5QBfK6/R0MCdC6Vke5/wpmm0MhcXFyv0wa0 fO9GjUy5/LnXGLUrzVCl5EnfkKQPg3ZKKba68b77qVW90xEX4FXFGuRM24oFKMbgHOt8 9htg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=0TLRZIQCR9Pw2vbyso675k3pFlhhJXqTc19qTvv4hf0=; b=shPmMFn8IJJdr4VB0ZiwQpa2i/GnD/vU5AWbWmVLtJtUbvl8+jm65knzJ5OJDrA/Ge 7vW/28lEcQzaxxCa7yWS1yaOG9Xjqk7luV6C0ttC0r8SaI18eRJIZnZvsfIS0bPnnDWd l8NJaUoHZHUWAvvjq+vgp/ioiOBST50VVWvxDNlnoLXrjeaYI01JgR7zrH1c5MYJyyNV CQ8azin77SXXYaHYkvblLyKOjI0w6aTnmgKj4vfLqdwbF5Z3aTwzkKlYVnXrKynpIWPc yzIVBhP7vDyklpEOHMQqLHgSFjOQnQ1sM5wKXKAd1uB8rrYDfFBKLvi4xgVlT/L9ev1d dR/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=jdYJmR8m; 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 p10si26688508plk.9.2019.07.30.11.05.00; Tue, 30 Jul 2019 11:05:16 -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=jdYJmR8m; 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 S1731141AbfG3QX7 (ORCPT + 99 others); Tue, 30 Jul 2019 12:23:59 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:36610 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726653AbfG3QX7 (ORCPT ); Tue, 30 Jul 2019 12:23:59 -0400 Received: by mail-io1-f66.google.com with SMTP id o9so25890287iom.3 for ; Tue, 30 Jul 2019 09:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0TLRZIQCR9Pw2vbyso675k3pFlhhJXqTc19qTvv4hf0=; b=jdYJmR8m0xX0zlcc3PoPTUK+s2NqbszXxm3DLd39YC9QiPycf8ZUeNGjIQcOp2loa1 jR39WTMryx8VEMCZawpYXd9he7GV+NEWkclF4zpRnRGE2dtTJjdn/2QBDeTqYIcKwiCS ycuL8cUw+W/VuU2IAXi0gtFiZmx44cUc2mn8tX6n4OV40PGfKAiyuuvEGpAp+eZYdnyq igkHYUUwODjs/aMwvomePV++HILV1vuGCtcxQ68//cev0yjbTjQIalzAgFmch/yhLldc kruq7vpHEIxgQdWBjsHCmZDa+egneG05AEo1+QHlOJ9y/rUaKgDhrA/34D3k5QdxJp1e XC9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0TLRZIQCR9Pw2vbyso675k3pFlhhJXqTc19qTvv4hf0=; b=rfm5VDHqoNelt7aZ9VMK8A3XM8ZbGn6yQTFyTA/hu/n1B2QqdG+Yy+E1zQ/Njpai7y QTnLmu0cQ9HV5zFyO0rHW7X10HMdHtYcqCdE4p5Ir3nrWkDfodduf+SMg2mxjCkhcq/9 wvXnuUeUfR8Ado1DkLFSIx2wLKiyAyvGZafhRVP7UWW8h6nyPT4JYXzF8MBAYoODyg/h wegM2SYfeTttkUKFEAmnE8X0VvBv+j7DfOluO6UjamHiKUOd5lTDepP3s4Dvtwg3Ll+P TzUwp3tuSoF9bCd62B4uUtTjxgW+cvZx7xUxJ+F/Z7YfieHlJu4ukVKqJRf0TJPVvoas kK7Q== X-Gm-Message-State: APjAAAXgSKHJsBISm8ou6AEp8FE4fjLHYt79vjX1jtodGh3Tbspc+Ran q5RKXUrS/yLFnh1ATCcZ2FONuHWr5R0iFjgzij1oCQ== X-Received: by 2002:a6b:4101:: with SMTP id n1mr82094401ioa.138.1564503837528; Tue, 30 Jul 2019 09:23:57 -0700 (PDT) MIME-Version: 1.0 References: <20190730154027.101525-1-drinkcat@chromium.org> <20190730154204.GC15386@arrakis.emea.arm.com> In-Reply-To: <20190730154204.GC15386@arrakis.emea.arm.com> From: Dmitry Vyukov Date: Tue, 30 Jul 2019 18:23:44 +0200 Message-ID: Subject: Re: [PATCH] kmemleak: Increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K To: Catalin Marinas Cc: Nicolas Boichat , Andrew Morton , Masahiro Yamada , Kees Cook , Petr Mladek , Thomas Gleixner , Tetsuo Handa , Joe Lawrence , Uladzislau Rezki , Andy Shevchenko , LKML , Stephen Rothwell , Andrey Ryabinin 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, Jul 30, 2019 at 5:42 PM Catalin Marinas wrote: > > On Tue, Jul 30, 2019 at 11:40:27PM +0800, Nicolas Boichat wrote: > > The current default value (400) is too low on many systems (e.g. > > some ARM64 platform takes up 1000+ entries). > > > > syzbot uses 16000 as default value, and has proved to be enough > > on beefy configurations, so let's pick that value. > > > > This consumes more RAM on boot (each entry is 160 bytes, so > > in total ~2.5MB of RAM), but the memory would later be freed > > (early_log is __initdata). > > > > Suggested-by: Dmitry Vyukov > > Signed-off-by: Nicolas Boichat > > Acked-by: Catalin Marinas Acked-by: Dmitry Vyukov