mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 18:14:07 +08:00
149b6fa228
As explained in [1], we would like to remove SLOB if possible. - There are no known users that need its somewhat lower memory footprint so much that they cannot handle SLUB (after some modifications by the previous patches) instead. - It is an extra maintenance burden, and a number of features are incompatible with it. - It blocks the API improvement of allowing kfree() on objects allocated via kmem_cache_alloc(). As the first step, rename the CONFIG_SLOB option in the slab allocator configuration choice to CONFIG_SLOB_DEPRECATED. Add CONFIG_SLOB depending on CONFIG_SLOB_DEPRECATED as an internal option to avoid code churn. This will cause existing .config files and defconfigs with CONFIG_SLOB=y to silently switch to the default (and recommended replacement) SLUB, while still allowing SLOB to be configured by anyone that notices and needs it. But those should contact the slab maintainers and linux-mm@kvack.org as explained in the updated help. With no valid objections, the plan is to update the existing defconfigs to SLUB and remove SLOB in a few cycles. To make SLUB more suitable replacement for SLOB, a CONFIG_SLUB_TINY option was introduced to limit SLUB's memory overhead. There is a number of defconfigs specifying CONFIG_SLOB=y. As part of this patch, update them to select CONFIG_SLUB and CONFIG_SLUB_TINY. [1] https://lore.kernel.org/all/b35c3f82-f67b-2103-7d82-7a7ba7521439@suse.cz/ Cc: Russell King <linux@armlinux.org.uk> Cc: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Jonas Bonn <jonas@southpole.se> Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Cc: Stafford Horne <shorne@gmail.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Rich Felker <dalias@libc.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Josh Triplett <josh@joshtriplett.org> Cc: Conor Dooley <conor@kernel.org> Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi> # OMAP1 Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> # riscv k210 Acked-by: Arnd Bergmann <arnd@arndb.de> # arm Acked-by: Roman Gushchin <roman.gushchin@linux.dev> Acked-by: Mike Rapoport <rppt@linux.ibm.com> Reviewed-by: Christoph Lameter <cl@linux.com>
75 lines
2.1 KiB
Plaintext
75 lines
2.1 KiB
Plaintext
# CONFIG_CPU_ISOLATION is not set
|
|
CONFIG_LOG_BUF_SHIFT=16
|
|
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
# CONFIG_RD_BZIP2 is not set
|
|
# CONFIG_RD_LZMA is not set
|
|
# CONFIG_RD_XZ is not set
|
|
# CONFIG_RD_LZO is not set
|
|
# CONFIG_RD_LZ4 is not set
|
|
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
|
CONFIG_EXPERT=y
|
|
# CONFIG_SYSFS_SYSCALL is not set
|
|
# CONFIG_FHANDLE is not set
|
|
# CONFIG_BASE_FULL is not set
|
|
# CONFIG_EPOLL is not set
|
|
# CONFIG_SIGNALFD is not set
|
|
# CONFIG_TIMERFD is not set
|
|
# CONFIG_EVENTFD is not set
|
|
# CONFIG_AIO is not set
|
|
# CONFIG_IO_URING is not set
|
|
# CONFIG_ADVISE_SYSCALLS is not set
|
|
# CONFIG_KALLSYMS is not set
|
|
# CONFIG_VM_EVENT_COUNTERS is not set
|
|
# CONFIG_COMPAT_BRK is not set
|
|
CONFIG_SLUB=y
|
|
CONFIG_SLUB_TINY=y
|
|
# CONFIG_MMU is not set
|
|
CONFIG_SOC_VIRT=y
|
|
CONFIG_NONPORTABLE=y
|
|
CONFIG_SMP=y
|
|
CONFIG_CMDLINE="root=/dev/vda rw earlycon=uart8250,mmio,0x10000000,115200n8 console=ttyS0"
|
|
CONFIG_CMDLINE_FORCE=y
|
|
CONFIG_JUMP_LABEL=y
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
# CONFIG_MSDOS_PARTITION is not set
|
|
# CONFIG_EFI_PARTITION is not set
|
|
# CONFIG_MQ_IOSCHED_DEADLINE is not set
|
|
# CONFIG_MQ_IOSCHED_KYBER is not set
|
|
CONFIG_BINFMT_FLAT=y
|
|
# CONFIG_COREDUMP is not set
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
# CONFIG_FW_LOADER is not set
|
|
# CONFIG_ALLOW_DEV_COREDUMP is not set
|
|
CONFIG_VIRTIO_BLK=y
|
|
# CONFIG_INPUT_KEYBOARD is not set
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
# CONFIG_SERIO is not set
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
# CONFIG_LDISC_AUTOLOAD is not set
|
|
CONFIG_SERIAL_8250=y
|
|
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=1
|
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
# CONFIG_HW_RANDOM is not set
|
|
# CONFIG_DEVMEM is not set
|
|
# CONFIG_HWMON is not set
|
|
# CONFIG_VGA_CONSOLE is not set
|
|
# CONFIG_HID is not set
|
|
# CONFIG_USB_SUPPORT is not set
|
|
CONFIG_VIRTIO_MMIO=y
|
|
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
|
|
CONFIG_EXT2_FS=y
|
|
# CONFIG_DNOTIFY is not set
|
|
# CONFIG_INOTIFY_USER is not set
|
|
# CONFIG_MISC_FILESYSTEMS is not set
|
|
CONFIG_LSM="[]"
|
|
CONFIG_PRINTK_TIME=y
|
|
# CONFIG_SCHED_DEBUG is not set
|
|
# CONFIG_RCU_TRACE is not set
|
|
# CONFIG_FTRACE is not set
|
|
# CONFIG_RUNTIME_TESTING_MENU is not set
|