aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
authorMark Brown <broonie@kernel.org>2026-05-30 00:25:45 +0100
committerMark Brown <broonie@kernel.org>2026-05-30 00:25:46 +0100
commitfe9618ab266d20638357eff97d84540aeb22d69b (patch)
tree4139a361d7bb521ee94831414b25a1567e4c11a8 /Makefile
parent99befc896988c8b8b3b948b19c9d1a4e40025c07 (diff)
parent1d8f40ed9011a5a660e952235a0e8db991de509a (diff)
downloadlinux-next-history-fe9618ab266d20638357eff97d84540aeb22d69b.tar.gz
Merge branch 'slab/for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0132fcb03f0f5..d59f703f9797a 100644
--- a/Makefile
+++ b/Makefile
@@ -988,6 +988,11 @@ KBUILD_CFLAGS += $(CC_AUTO_VAR_INIT_ZERO_ENABLER)
endif
endif
+ifdef CONFIG_KMALLOC_PARTITION_TYPED
+# KMALLOC_PARTITION_CACHES_NR + 1
+KBUILD_CFLAGS += -falloc-token-max=16
+endif
+
ifdef CONFIG_CC_IS_CLANG
ifdef CONFIG_CC_HAS_COUNTED_BY_PTR
KBUILD_CFLAGS += -fexperimental-late-parse-attributes