linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] fixup! increase PERCPU_MODULE_RESERVE to accommodate allocation tags
@ 2024-04-06 21:40 Suren Baghdasaryan
  0 siblings, 0 replies; only message in thread
From: Suren Baghdasaryan @ 2024-04-06 21:40 UTC (permalink / raw)
  To: akpm
  Cc: kent.overstreet, klarasmodin, linux-mm, linux-kernel, Suren Baghdasaryan

The increase of per-cpu reserved area for modules was not enough to
accommodate all allocation tags in certain use cases. Increase some
more to fix the issue.

Fixes: a11cb5c8e248 ("mm: percpu: increase PERCPU_MODULE_RESERVE to accommodate allocation tags")
Reported-by: Klara Modin <klarasmodin@gmail.com>
Tested-by: Klara Modin <klarasmodin@gmail.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
---
 include/linux/percpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index e54921c79c9a..13a82f11e4fd 100644
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -17,7 +17,7 @@
 /* enough to cover all DEFINE_PER_CPUs in modules */
 #ifdef CONFIG_MODULES
 #ifdef CONFIG_MEM_ALLOC_PROFILING
-#define PERCPU_MODULE_RESERVE		(8 << 12)
+#define PERCPU_MODULE_RESERVE		(8 << 13)
 #else
 #define PERCPU_MODULE_RESERVE		(8 << 10)
 #endif

base-commit: f43b3aae94511d62174c3b29239da0dd22d0eeb3
-- 
2.44.0.478.gd926399ef9-goog



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-06 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-06 21:40 [PATCH 1/1] fixup! increase PERCPU_MODULE_RESERVE to accommodate allocation tags Suren Baghdasaryan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox