Message ID | 20240221194052.927623-17-surenb@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 1C693C48BEB for <linux-mm@archiver.kernel.org>; Wed, 21 Feb 2024 19:41:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3214D6B00A8; Wed, 21 Feb 2024 14:41:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2CC9F6B00A9; Wed, 21 Feb 2024 14:41:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1473A6B00AA; Wed, 21 Feb 2024 14:41:35 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id ECC266B00A8 for <linux-mm@kvack.org>; Wed, 21 Feb 2024 14:41:34 -0500 (EST) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BA35514083F for <linux-mm@kvack.org>; Wed, 21 Feb 2024 19:41:34 +0000 (UTC) X-FDA: 81816830508.08.A845B84 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by imf27.hostedemail.com (Postfix) with ESMTP id 434B840020 for <linux-mm@kvack.org>; Wed, 21 Feb 2024 19:41:32 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=tY6MEn6W; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf27.hostedemail.com: domain of 361HWZQYKCB4MOL8H5AIIAF8.6IGFCHOR-GGEP46E.ILA@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=361HWZQYKCB4MOL8H5AIIAF8.6IGFCHOR-GGEP46E.ILA@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1708544492; 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=GoE6bGSaoBD7i3pA8lR/Run1pysn6CP5hI9CoxzKmn4=; b=goDDHQQ+D+h8NxUXUn8GqqN5zrN4lnbY0mdG7AX5SXeVnCPljYp4ExIwwdvhHUlgzk2NGu xn7lm2YwYUUaEkjmwoPDiIjuehFPg6yQ7PdjdxcETi42Dq6s1D9gqt7QI3yOPgWzm4/iQN mM5O7E3jnFo9Vwr3U9y2HaJGl/VCO9M= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=tY6MEn6W; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf27.hostedemail.com: domain of 361HWZQYKCB4MOL8H5AIIAF8.6IGFCHOR-GGEP46E.ILA@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=361HWZQYKCB4MOL8H5AIIAF8.6IGFCHOR-GGEP46E.ILA@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1708544492; a=rsa-sha256; cv=none; b=cl70BaBQVlyit3MKk52+qqKqb77T+gFMjpYvTtb2Q3cEyR47z2u0ffCjDYwUnpm+lY05Oc tUBL5C1/Q1/8qM7NXLnT+cRjIwNP+GSgtRNijDGlT61u5DgtuD5DQ2Bqqm64swtHSqI4si JN5v/QoWy8zSWeblZHpM6vkJhX4+soQ= Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-60802b0afd2so1238167b3.1 for <linux-mm@kvack.org>; Wed, 21 Feb 2024 11:41:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708544491; x=1709149291; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=GoE6bGSaoBD7i3pA8lR/Run1pysn6CP5hI9CoxzKmn4=; b=tY6MEn6W5Di4gFKovneyI9sLQcnFvyjO6kj/4tIPYoMOyO77fN+PvdSTwc1ftH+qWJ QfdcmeFZTBKOQffk96NsdmpN4jOCahvolnc1cApyDEip0E0WRUKw9vWdCjGhos38qCkI tThXEM8S/G7Iwnja/779Gb6wbkGo6ffwFPPMM3i3g4In6G5Ew7yjL0ZE9XootaAhiLML Awg02ZCbzdpNwR+a9akPvBnxPxtp/L5UD+2En3YVrwAQmgpGGajEPvI27y9f/8vUV7bc +wX436Lu06iB3ejah0gt3+B/rXvWsDs2qF7MDkxXrlL4btWze466a+RPvVqoQpxQ77et W5FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708544491; x=1709149291; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GoE6bGSaoBD7i3pA8lR/Run1pysn6CP5hI9CoxzKmn4=; b=v9bF0Exb00bpp3NTYyFpeSVCrvdqyMn6Y3p+Ty9u2Fu/wc8yTiRwg8t0oFskmGPDxW kpLVVklE+9l5a89b7yMEa6YRajOhpVawbYmh7p82UTRFdgFoqorevgSv8vyvtBkfUEx3 zxxrbfExlscZVFMDpYBbCArieeeMuD8ljw3LvSstKVv+wWpSA+w82gEeEoDfG8cpbEsR gHsYiO74mXUXv6UKAzjZNlXo13v+3FbZD/0tl7eXJ4J0SX+EJmBa22aIQvYyHrmohdzX dCOmNMtc2pQ3R8en8XvumiaoStULLRmKLQWjfX3mejpejGiFX/ok6gIl+LPPaAzevpM5 f8og== X-Forwarded-Encrypted: i=1; AJvYcCWkiD0POuE9qbIpI2U/ff6CODb0ONYFGoxjXaxeP7BARtYfnYvTvhD+GzbLfsZ9mzApSbDwkEi56+zO3SIjRgfWZvg= X-Gm-Message-State: AOJu0YwHTkMWH11qo3w3T4l5HVMdPFd8W6iuziIWjrg4gqyXj6pYevbD PKR6yRXRg2KbyYmwHw2LMXPNVKvv9aqCeY2//hJk97c0rUHU+LsJonw/zBzbqfC7AlI+kjI7QWS j+g== X-Google-Smtp-Source: AGHT+IG2dizM99WzNXjXCm4NRVCQCOVTKSh+Pv+zsrsy5Io1Fqept1ZOsQ0OERnmDAPF2nVohKm6aRgWd5Q= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:953b:9a4e:1e10:3f07]) (user=surenb job=sendgmr) by 2002:a05:690c:fce:b0:608:7c19:c009 with SMTP id dg14-20020a05690c0fce00b006087c19c009mr105006ywb.0.1708544491160; Wed, 21 Feb 2024 11:41:31 -0800 (PST) Date: Wed, 21 Feb 2024 11:40:29 -0800 In-Reply-To: <20240221194052.927623-1-surenb@google.com> Mime-Version: 1.0 References: <20240221194052.927623-1-surenb@google.com> X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog Message-ID: <20240221194052.927623-17-surenb@google.com> Subject: [PATCH v4 16/36] mm: percpu: increase PERCPU_MODULE_RESERVE to accommodate allocation tags From: Suren Baghdasaryan <surenb@google.com> To: akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, penguin-kernel@i-love.sakura.ne.jp, 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, rostedt@goodmis.org, 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, surenb@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 Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 434B840020 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: g53pawoz4wpd9kqkfd5cfb89sbupycja X-HE-Tag: 1708544492-63358 X-HE-Meta: U2FsdGVkX19ne49ousyurG5TMJU/h2G1Dwm/tE0P0ZqZClu8U2H5HLzLQAks+9XsNcLJfiM9QQsWNsQ+XtymwMjkJ0mi7DWc0UpBFhh6H+GgZtEo3kwuczG9u1AbRVzDAFIEJFX5Io/P8Bi7gp0B3LGTHDLgtSKk80veUCGXZWcLbCLyWP19lxOCflcBHvuQfnC5ZFOst0Nxz3OapG4+JnwfQJFCzGULJxrISwe5sGOiGAjxPNULYk02FdxMdLSgrAoEVyAWYP4OSIO7dDUo/GfQdcWLA6CxfLDk5/E1x3CMCCMdc6AZFdJ9JGSKDa44JnsYHluLUXSqqQPSZRVGcOqT13qP4tE+Y8KY1eqMkRN4xONLPzQ/sXx9F+2mU5yd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Y/NyVOyJy26KgqXAanwiPbLXcGCJv1L+yg2bq8qQYA48Jm1pn0r6kbB98g/M/OoYcsKid2lTwWXApWK6pPDqyz8H7HqsLMfLrVo7iVl/T/ko/44Irop9+JZ+oP1uZ/RpiIRAd2o/0nN0cMy+Po8FffY4YdV9+gL5tJFg8ALTpQwQcRhBTyBA5Uw/0N5Bxa9CQLbC6U7vo3CtdsnPxwBniTnQhO1SLviftE/TyvUm+v0dR6sDgq+vQDQvPrX4NkztdWd3tUIbnGDm0wgtn60Th5gHNUAa8UffdCKK/ixpt6RtT/n4JHw+y2+AubPizyk2NUSrzk4G9GhGEKQ+vbzKDC6oIuKr/gDDDriiJy/8nq6iEAY+QWqSJLkA= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Memory allocation profiling
|
expand
|
diff --git a/include/linux/percpu.h b/include/linux/percpu.h index 8c677f185901..62b5eb45bd89 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -14,7 +14,11 @@ /* enough to cover all DEFINE_PER_CPUs in modules */ #ifdef CONFIG_MODULES +#ifdef CONFIG_MEM_ALLOC_PROFILING +#define PERCPU_MODULE_RESERVE (8 << 12) +#else #define PERCPU_MODULE_RESERVE (8 << 10) +#endif #else #define PERCPU_MODULE_RESERVE 0 #endif