diff mbox series

[1/1] fixup! increase PERCPU_MODULE_RESERVE to accommodate allocation tags

Message ID 20240406214044.1114406-1-surenb@google.com (mailing list archive)
State New
Headers show
Series [1/1] fixup! increase PERCPU_MODULE_RESERVE to accommodate allocation tags | expand

Commit Message

Suren Baghdasaryan April 6, 2024, 9:40 p.m. UTC
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(-)


base-commit: f43b3aae94511d62174c3b29239da0dd22d0eeb3
diff mbox series

Patch

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