Message ID | 20240212213922.783301-16-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 91B74C4829D for <linux-mm@archiver.kernel.org>; Mon, 12 Feb 2024 21:40:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 79E0F6B0099; Mon, 12 Feb 2024 16:40:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 74E5C6B009A; Mon, 12 Feb 2024 16:40:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 558966B009B; Mon, 12 Feb 2024 16:40:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 4028A6B0099 for <linux-mm@kvack.org>; Mon, 12 Feb 2024 16:40:08 -0500 (EST) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 1DDC0C0AA7 for <linux-mm@kvack.org>; Mon, 12 Feb 2024 21:40:08 +0000 (UTC) X-FDA: 81784470096.04.3E0A507 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by imf10.hostedemail.com (Postfix) with ESMTP id 63194C000E for <linux-mm@kvack.org>; Mon, 12 Feb 2024 21:40:06 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=Zz5cJsWG; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf10.hostedemail.com: domain of 3NZDKZQYKCLQmolYhVaiiafY.Wigfchor-ggepUWe.ila@flex--surenb.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3NZDKZQYKCLQmolYhVaiiafY.Wigfchor-ggepUWe.ila@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1707774006; 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=8hiMFMYdTb9wRLf05RpnPyNZaK7+4nxliVbJC61s+/Q=; b=uDmFdXXCejdcUb8OMhgdNulualzW6bAIxFhbY5OV7iG9XoSgRyxtOgH7US5vxKhY5+Z+tP jzVxj1yq8V6dCkdMJrPNkHiA0mBBvO2KsfaLYBf9nl6ATUuD7r2mkwYR7/WY9bTpfN08uA +szg0pIvUY/7KksHWu6F4Vep4Ivz5e0= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=Zz5cJsWG; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf10.hostedemail.com: domain of 3NZDKZQYKCLQmolYhVaiiafY.Wigfchor-ggepUWe.ila@flex--surenb.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3NZDKZQYKCLQmolYhVaiiafY.Wigfchor-ggepUWe.ila@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707774006; a=rsa-sha256; cv=none; b=7Mejl9v9LPFyjBiOUvYrRo5ZJXpGDa5iKTs/M2Am7Z1MfXHQS99qRQuvhyWJ6MOaLHduU3 s9yaOvtVEac8VxTuJTuMt3i/E1nas6U4qv+dnuOGVZ4apf1sqTPIRf4/9yigY6V250aIzW KXvvxm8mZQIwZo2dppClH74B4U4hi+o= Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-60761bdbd4cso19836117b3.3 for <linux-mm@kvack.org>; Mon, 12 Feb 2024 13:40:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707774005; x=1708378805; 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=8hiMFMYdTb9wRLf05RpnPyNZaK7+4nxliVbJC61s+/Q=; b=Zz5cJsWG1jW+jTECwm1ySIOlphgzYiP6Iudl2aPkYtO3KXGyWgwyrBwCQvGXPEDGZv 77BXR7xgI5jQuz5WEpKmhmg4t3szaiEiPEeTL3nuALXIr9v+KFgl7A0W7z9ssH58/SyJ v2QSWFC3D3ohsbQqzLQa3dQYZmMdDphuondSeXAR9PPhJhlbw657Gvv0IqvUOH+wJC6U EITwhnuzjT5aHk/EYZAIwdyYda/BCYncQUYSIY806eOV93pZV5NXmWz6MMlNChYjkBiL b2UeBZ+VxpME3cFOTTOMqjnoXWKzpdxR0KkMSq5U56earL8rvi1ltdNP1MTrRxPQw2sR lZIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707774005; x=1708378805; 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=8hiMFMYdTb9wRLf05RpnPyNZaK7+4nxliVbJC61s+/Q=; b=CKJC2FvG6kPBgZ5HdvFB+QxMRl4ufH7lXRoxDDZ/avoFJFjzC1G2D/pIdvGaA8A/a1 XOW3d5wS7xw2AZPQdbJ0sJVpmt67TKiV6ykXzlLsJt3zGV4YDv7kYHHFsqqJQFfCcQt5 mKwFLdyz05nBF4FqwvCHmbbQU/WD5NQkUc3/iYQHaGjyBEscPN/hQzgfcjAFpHzkS2+J v5mKkcrl40blHj78ROo9aRHdvk9ONbW1wEanqYBSKyMgF4QzT4N1bHGyZX6PXT2vQFc1 9WYnMg9VubB/JI48/nkD9ivhd+e6s4998FfOPIoXxuXgzQdYsaLxCEWpKYQs2Ft06r+y VEvQ== X-Gm-Message-State: AOJu0YwiY8c+lBPI66bn2+CrbkpBlAFm2q1EpFkGfSYxpEerDWavTV3e w9WyqkF0CbDjQ7SdmZzb0LSyY14XiFqL7D4C/K2DmcJo0i3+cXRrdlO9Lh1SrueO/QvBL7cqB5F paw== X-Google-Smtp-Source: AGHT+IHMymVhDhc3vqzIXqR7wXKts/Huwxqw8epMlcUK6WIr6/J3gYxRwjZRSc5OiXO09TM/bRBKSIcClBs= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:b848:2b3f:be49:9cbc]) (user=surenb job=sendgmr) by 2002:a0d:d650:0:b0:604:7b03:4223 with SMTP id y77-20020a0dd650000000b006047b034223mr2206277ywd.2.1707774005345; Mon, 12 Feb 2024 13:40:05 -0800 (PST) Date: Mon, 12 Feb 2024 13:39:01 -0800 In-Reply-To: <20240212213922.783301-1-surenb@google.com> Mime-Version: 1.0 References: <20240212213922.783301-1-surenb@google.com> X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog Message-ID: <20240212213922.783301-16-surenb@google.com> Subject: [PATCH v3 15/35] 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, 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: 63194C000E X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: xttxi1h1e4zr9qhdkcp3amrjdcbr8op3 X-HE-Tag: 1707774006-147234 X-HE-Meta: U2FsdGVkX1/SQnxyAFZiKVXVK7LKbu+XLti+SMgFHASjamMoXuzMoXKK8zoDbM+gw/zELAZAm/U3XxKT9T7KT8UAj2JarHQpcFUHu77dnHxP0Hd3ueTVxlyK+WH2FCDMmbXyXcpPmEp4XzS1LH1+jQfKG4X3TzcTdWiEOY1Kui+HvkJv2vaYG5wjMQZuN+Yz7Bk+yB70/jNZUjCMeZGaswPVKEISb9CKs5IEy2i8IXKZVBH/k0RJwPeEzlS7M6f8WTJrn5gGdsEUD+4opra43Z7iDXl9W5i/5MCLtKMd5QcS5+Ta/WIEjcOC4x3giGRztI91AkVcfYKbwXMk1O/KKtZrosASC1jyFpEn9d5nbD2996HtjPAz99KpX0Nz+sdYtHiu1MMS3BfvtKb2tl2tNXNVrFqTc1b2KrunliVcLy290JgFA/j7A8+AwqBn+ei/eDP4UPdPKwqQT6QVUaEjLazIT2Y/rPNuoDicsqhdxlYKsHBw3BhzvBnq75UzxZpj+kD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uAgl0oNvC80V0min7xqwNR6BeDubsorXnrksEZHEnwO690sckJiNwsMSnN1JQ9ItN+cwF+bndpQITko/7KJHsJeeo+Dg/Uuv3Q6jHi3JYNu4dZaWIHi9XIO92tHnZjrIQ/qpw1SCjDDDdXWNOPJb6O+ZnMRj0OWYbVZAKG1lY6uBCbsTVYY1IryKsSD85xlN2eEB4GTWhI02VOy11kJesPS8A6Vm1rPmN1yNMnJUGILNOquCxQuS7nKQ== 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