Message ID | 20240306182440.2003814-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 5A065C54E41 for <linux-mm@archiver.kernel.org>; Wed, 6 Mar 2024 18:25:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5CDA86B00A4; Wed, 6 Mar 2024 13:25:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 57E006B00A5; Wed, 6 Mar 2024 13:25:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D0A16B00A6; Wed, 6 Mar 2024 13:25:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 2968C6B00A4 for <linux-mm@kvack.org>; Wed, 6 Mar 2024 13:25:22 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id E7CCF1C119E for <linux-mm@kvack.org>; Wed, 6 Mar 2024 18:25:21 +0000 (UTC) X-FDA: 81867441642.29.5C19B23 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by imf21.hostedemail.com (Postfix) with ESMTP id 1AA311C000B for <linux-mm@kvack.org>; Wed, 6 Mar 2024 18:25:19 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=R9UljYLM; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf21.hostedemail.com: domain of 3D7XoZQYKCFICEBy7v08805y.w86527EH-664Fuw4.8B0@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3D7XoZQYKCFICEBy7v08805y.w86527EH-664Fuw4.8B0@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1709749520; 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=OEAYBW3Z4VXc6aDoxC6XGC2RO1GGkHEsC5P6UG5rRTs=; b=AsqDS2UP5WZZJEyijlT0Yx01oaN6Hz+eYvJkmM+f25Ck3A6w6TDMhjJhAsWgY2RXlverT2 6DEgu3qYRmi7aKx5RI9xFudzaS3o2ZcMoCIBM7Wf/oJgBV8omjet5Mr46PzK0waqOSNQ45 Oj89Dz5zS727WlX+3Rq+OAk6ogyvdf8= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=R9UljYLM; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf21.hostedemail.com: domain of 3D7XoZQYKCFICEBy7v08805y.w86527EH-664Fuw4.8B0@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3D7XoZQYKCFICEBy7v08805y.w86527EH-664Fuw4.8B0@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1709749520; a=rsa-sha256; cv=none; b=tzluGLJYlFEH3jpQos9vUPyyQz4eBEXtZkpdowbEdu/r69Pcp3qWeNbPc2b2m1Ylswf1/X 2KDSz588Il6WuTkHERYiZnwr1tpC9DEx3n+N47QqZ8CuFEFKiXiCqjE5SbMAoPs+5Kxs4I MeqFi0xvfAxYp1RCAo1GXzIZsbKcJQs= Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-609ccbcee7bso716917b3.0 for <linux-mm@kvack.org>; Wed, 06 Mar 2024 10:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709749519; x=1710354319; 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=OEAYBW3Z4VXc6aDoxC6XGC2RO1GGkHEsC5P6UG5rRTs=; b=R9UljYLM5l70PSONsgpHKc2uICbxqezAqSUBoPMarneY8y43fwMMXZ86NPDeMt2PxK 85pNBKrw9bRlpqCd2d3lT9eSPdnWOdmzUv8yPhN6pjTythZ1LIvht7I/idItK4TKWFR2 XEYqzwolK/Su31dAKR+FhgyntVG4AeiUQQvhs20FQgiz2UXovyqon6WWOtRu9Q93EjG4 LzfsCJP1ja63Ek5S6858cuR2rELkF11K/4LvGhjES+Jb5PcAk1doDRmvnSpfZGA0msyL I44O9AxVfVQEmyUUyHmElKN6F9yvoVwbzY5pfWUmSX4w/i66UPWfd/c1qTSV9t2r44mc 08fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709749519; x=1710354319; 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=OEAYBW3Z4VXc6aDoxC6XGC2RO1GGkHEsC5P6UG5rRTs=; b=meU7cPMGetFQr6cmyTRGBOEt6FFv6EjV+LtHuozwHEemyvrfQwxvQDAtK4bimOUzRW bzecIuUf2NKlJabZrLcCtyxx/gmKsIhlvfrzvxHBLhoRnaxEhQsiAZM35WgH6afgNllR eLKNzvjP+s26HheO6n5VX9EtRnFAXIHJBCj9myyybhgXwfTDYGRJts9dJ26xGgvsTkgz G5wf1jR/ZDAkEGu5/pvSHa0vjuo2/ENehUKGJRctTSVSvVcqFp5FIKUgYXo9Z4yAvRR6 G0mdycVyEdZC3f3+34E2p2v4hnlZIVwr0K78PKhyPUwIi6VQwxviuOincZRe2xFZKCDf PHHg== X-Forwarded-Encrypted: i=1; AJvYcCUm/v/ycmP868huMmEoF6wJuQ8wSIM0jnbH9WxBsI3PH2CTv0MxuNbsql/P4LtaBbwAkfHbFHl1sFORSyQKYqxFXhc= X-Gm-Message-State: AOJu0Yy2K0MohZNo79SWuwIdw2m+PenS652g6zVfYYNNN8TcT3nl2Z3W H6Xfaf1eIsHmhpjG72uYtusdMqIa0zEl8XuSY5zj/hHEJkrKQseWWLwgQfViNWgmteQykFA8Cnt YGw== X-Google-Smtp-Source: AGHT+IGRA5aw0Cx2t1JPgn1w/V3cVE9EShRxIkrJJQcyCjV/1XkZdkPnLkct9rPYqab5CU3NhvDSCALRADo= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:85f0:e3db:db05:85e2]) (user=surenb job=sendgmr) by 2002:a81:9950:0:b0:609:4d6f:7c0b with SMTP id q77-20020a819950000000b006094d6f7c0bmr3566046ywg.4.1709749519078; Wed, 06 Mar 2024 10:25:19 -0800 (PST) Date: Wed, 6 Mar 2024 10:24:14 -0800 In-Reply-To: <20240306182440.2003814-1-surenb@google.com> Mime-Version: 1.0 References: <20240306182440.2003814-1-surenb@google.com> X-Mailer: git-send-email 2.44.0.278.ge034bb2e1d-goog Message-ID: <20240306182440.2003814-17-surenb@google.com> Subject: [PATCH v5 16/37] 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, jhubbard@nvidia.com, 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, aliceryhl@google.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: 1AA311C000B X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: gks8cgjwetu6m8kxq8tcm5sswtfjts7q X-HE-Tag: 1709749519-434513 X-HE-Meta: U2FsdGVkX1+ZCVFze+hCzj1plGD9TqEuXRaZdfu6GyFC1RwdePLRkLWRDrDukYrQMSVygGwmNLj1X70lzRcGHo2Odi8vsyBQvTf5sHkaG26I7TNli4DrzoZmP1l6MK7ijLjdF728JnkL30Vuz5R34sdrjh6szoV9wScGIvd07Rwt/01d3B3t4c5iwqgfxG99xPAN1/MKv6YgL4ezNW2xmVYIx5Ech/g5nncMGfn2LfJXO9ldOkkcNfe7MYtDw6CDFDKmrVX0aOjd22Lpdg+5g3fWt50qh3IRLmoqTOgGr7+g/MmrCTHF9IyDnSHkmxedJAt6HF5ukHauTshk7mzYmejEEZcH4o3xuCfxTKZhDX5KAnBvk2O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auh6244FOqB3wFFn6NQSiyomOzrVVqEP6E39gm5Zx85euWX1GDNIZciae6N84Z+wuJQOmHxSEngIJD34b5hmAwfWuoZ8Zj+2FY8jEqfnEIDYzyKJ4g+wfdIVLn/kBcJbd6ZL3VQBvSU+mkR1znZJhaHGuqBZzWoLrLg2jtLwTzKvQ+nySAqJxgLpzyhrCZdsKD0Z0GqJ4o2JBY7Jks9RDHMCQipct+2BMCViryyhvpUSL3H7J2vc++zKk4saX5dPLy+z6N68LIvpvYsCV6leFUSe0Q9OIF14fysC/UH4Iquy6deOBxaA1F1i8cB6I2obHrXIzIG0kCHgEXHWyENv128MH2YFoFsqjtn0k= 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