From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 902FAC48BC4 for ; Thu, 15 Feb 2024 23:56:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 239FF8D0019; Thu, 15 Feb 2024 18:56:38 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1C2398D0007; Thu, 15 Feb 2024 18:56:38 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 063AB8D0019; Thu, 15 Feb 2024 18:56:38 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id E73D08D0007 for ; Thu, 15 Feb 2024 18:56:37 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id C288816103C for ; Thu, 15 Feb 2024 23:56:37 +0000 (UTC) X-FDA: 81795700434.22.BC6E06F Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) by imf28.hostedemail.com (Postfix) with ESMTP id 14BF3C001B for ; Thu, 15 Feb 2024 23:56:35 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=W8aCebO2; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf28.hostedemail.com: domain of kent.overstreet@linux.dev designates 95.215.58.170 as permitted sender) smtp.mailfrom=kent.overstreet@linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1708041396; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=52irb0w7kCnlBvMxLW0+SFuqopgYfciVJASMwoihRhE=; b=In9df+MuJJiGPxe/oxq2WZTF3p0vYnNAf73ry5FYB0SxCMZgLRz5n7MCLHBGuWPym67psr iGW9UXyEAQqUV8/JH1Xw7aSaCJT2I5rC+ahm9yx4vAIyi72P7RHRMcWPmkd5LioxPoU2QZ +dQqpFPfKWwPf041b3BC3Oox71sSnJs= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=W8aCebO2; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf28.hostedemail.com: domain of kent.overstreet@linux.dev designates 95.215.58.170 as permitted sender) smtp.mailfrom=kent.overstreet@linux.dev ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1708041396; a=rsa-sha256; cv=none; b=lcYphxtudWdUh0TdgmDTKS0owp8D7ohbBn6jreWCk8E1ES7HEwqyjjOg3TnTzgAFCL+ogm fGfTIln2HVTy1ke+sKp1ytNhHaC5HQzQwmva+OkXjuYRPUEUyLWZmv8oEyQdc0225kLvM7 p+nwqTU2Y0VczB7GH/KmP0WD7xKQPXA= Date: Thu, 15 Feb 2024 18:56:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708041394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=52irb0w7kCnlBvMxLW0+SFuqopgYfciVJASMwoihRhE=; b=W8aCebO2THza5CeyIZvQGxex721ZZr6jKFMNeLpyWkeDlraDKdYQNW4AG82T/47pBNySdI y5A9VXvGmmeecO8p74FAsi4b0E+Lp2beak03FRN4kXMF+seC2CFdIRETc0XYiFf64Zk2OS NNU4KiPUWdHZDgVU4h+bx6kEBCMTSQM= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Steven Rostedt Cc: Vlastimil Babka , Suren Baghdasaryan , Michal Hocko , akpm@linux-foundation.org, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org Subject: Re: [PATCH v3 31/35] lib: add memory allocations report in show_mem() Message-ID: References: <320cd134-b767-4f29-869b-d219793ba8a1@suse.cz> <20240215180742.34470209@gandalf.local.home> <20240215181648.67170ed5@gandalf.local.home> <20240215182729.659f3f1c@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240215182729.659f3f1c@gandalf.local.home> X-Migadu-Flow: FLOW_OUT X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 14BF3C001B X-Stat-Signature: hdw7js9rae9t9r4r8511so87hsndyuwp X-Rspam-User: X-HE-Tag: 1708041395-229798 X-HE-Meta: U2FsdGVkX1+v/LrLW1+AMT6FD0QvBsx/VQz6JrQ3yiEkaP3clW3vEiOdl6l/x8iHvuYMo+xkPabupMlUxJTfdG+enrMxffZKJZPeotZATXcXIkKLUowluNeFJ3S1V7ray7k6pzNJ61voVHEMeRMTFF2a5ktMsOts4V703al3qGnQnB4KgwnJOYgn9ndOtMGGckuTBj0vEVZRKXdBalWOPk/nnI3P+UGPPCau+36sSxbdslPOzbdIIesffWeF8wxyCpo9oWDeKkIDhJIr93qkdJkrNvcWF7wGwo3G6m7dwMJhxCvuyR0VELuE1DioD37mZmDu6ZMLGvAG4asRXZn1uYHIjeyYH4GnXz/KlSm4rVNrrxt00GVCI6hknrAZgwmazHOZ1eNuM+RKs272m3UA4kzHi9hk2fwbx/EXmoLRfHSL1WDBM/ktKrrMPAADHMdOebCuyiDRQWcPwrctALprMK2iSddqVcigeu17wM2QZVbgCkVjeJFNotYhyd0PM+Iv2H+xkYIjUQx1d7oODeyQQt4kGaRmcSICVXlGSFbOnHjUx57UIf5mCpoDbAyv5i8/MWDFpUsH2DSUHdxjE7PjhAScOgT5XJmO0YzV+uaARxthFKOAmRW4vXwGlrofecLLBofoXqdtkw44YvoQrVWyBtgED6fy4SN4sCs+QvGHICzFASA3og7R6aqR8W5z3dYhSCh1QddKGswMa8WuuexCUzJsEFmq8uwZGAn6XWjeQjhL+PSpWCj1YDe0Ud2cxde8kbLo0G5Ne1MuSbFPz4KyogpoUw7yNWX+Wzoo3B+p0pa72aAhu2eQsQnzk53jcgsc76KUzHhqoi+jqkLacgopBUoZiXY+RcAgPosjDoD+P6/ghHA6HUIh/xX64mw5XEFKBrZmRXE6fTAJglzYKSUjpCQgTaPIMd7X3efyxWAibicdX/eTEN4BP+X1yzXTIuL5EhGoCzlrQsnLrwL2iWa L544Qfyt 4odzfIbyqLz7MMt5j8kd2khzvZCy5Ed8UDnjgXFrJOUbW8h9G9XYilVyAV7eSmxDH2TIflcLIh828VE5p5HhgUzvVdDLIfjKu3eXMLmfmXjdvKjY0SIMH9LAjSqZajT/XYUMEzlZS8Hdw/ZZfpQn4VXGg6DutGZvH+heu0qOEkY3Dtz9pwIdDoRXJZsTqwTpnp2zvHYAG4oJjoSc= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Thu, Feb 15, 2024 at 06:27:29PM -0500, Steven Rostedt wrote: > All this, and we are still worried about 4k for useful debugging :-/ Every additional 4k still needs justification. And whether we burn a reserve on this will have no observable effect on user output in remotely normal situations; if this allocation ever fails, we've already been in an OOM situation for awhile and we've already printed out this report many times, with less memory pressure where the allocation would have succeeded.