summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2023-05-23 09:06:34 +0200
committerVlastimil Babka <vbabka@suse.cz>2023-05-26 19:01:47 +0200
commiteb07c4f39c3e858a7d0cc4bb15b8a304f83f0497 (patch)
treeee35d3461ea1f0a0b6084e39a28c015fff5276d1 /kernel
parentLinux 6.4-rc3 (diff)
downloadlinux-eb07c4f39c3e858a7d0cc4bb15b8a304f83f0497.tar.xz
linux-eb07c4f39c3e858a7d0cc4bb15b8a304f83f0497.zip
mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED
As discussed at LSF/MM [1] [2] and with no objections raised there, deprecate the SLAB allocator. Rename the user-visible option so that users with CONFIG_SLAB=y get a new prompt with explanation during make oldconfig, while make olddefconfig will just switch to SLUB. In all defconfigs with CONFIG_SLAB=y remove the line so those also switch to SLUB. Regressions due to the switch should be reported to linux-mm and slab maintainers. [1] https://lore.kernel.org/all/4b9fc9c6-b48c-198f-5f80-811a44737e5f@suse.cz/ [2] https://lwn.net/Articles/932201/ Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Acked-by: David Rientjes <rientjes@google.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> # m68k Acked-by: Helge Deller <deller@gmx.de> # parisc
Diffstat (limited to 'kernel')
-rw-r--r--kernel/configs/tiny.config1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/configs/tiny.config b/kernel/configs/tiny.config
index 144b2bd86b14..00009f7d0835 100644
--- a/kernel/configs/tiny.config
+++ b/kernel/configs/tiny.config
@@ -6,6 +6,5 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KERNEL_XZ=y
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
-# CONFIG_SLAB is not set
CONFIG_SLUB=y
CONFIG_SLUB_TINY=y