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>
90 lines
2.1 KiB
Plaintext
90 lines
2.1 KiB
Plaintext
CONFIG_SYSVIPC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
|
CONFIG_EXPERT=y
|
|
# CONFIG_BASE_FULL is not set
|
|
# CONFIG_EPOLL is not set
|
|
CONFIG_ARCH_MULTI_V4=y
|
|
# CONFIG_ARCH_MULTI_V7 is not set
|
|
CONFIG_ARCH_SA1100=y
|
|
CONFIG_SA1100_COLLIE=y
|
|
CONFIG_CMDLINE="noinitrd root=/dev/mtdblock2 rootfstype=jffs2 fbcon=rotate:1"
|
|
CONFIG_FPE_NWFPE=y
|
|
CONFIG_PM=y
|
|
# CONFIG_SWAP is not set
|
|
CONFIG_SLUB=y
|
|
CONFIG_SLUB_TINY=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_PCCARD=y
|
|
CONFIG_PCMCIA_SA1100=y
|
|
CONFIG_PCMCIA_DEBUG=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_JEDECPROBE=y
|
|
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
|
CONFIG_MTD_CFI_GEOMETRY=y
|
|
# CONFIG_MTD_MAP_BANK_WIDTH_1 is not set
|
|
# CONFIG_MTD_MAP_BANK_WIDTH_2 is not set
|
|
# CONFIG_MTD_CFI_I1 is not set
|
|
# CONFIG_MTD_CFI_I2 is not set
|
|
CONFIG_MTD_CFI_I4=y
|
|
CONFIG_MTD_CFI_INTELEXT=y
|
|
CONFIG_MTD_SA1100=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BLK_DEV_RAM_SIZE=1024
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_ATA=y
|
|
CONFIG_PATA_PCMCIA=y
|
|
# CONFIG_INPUT_MOUSEDEV is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
# CONFIG_KEYBOARD_ATKBD is not set
|
|
CONFIG_KEYBOARD_LOCOMO=y
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
# CONFIG_SERIO_SERPORT is not set
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CS=y
|
|
CONFIG_SERIAL_8250_EXTENDED=y
|
|
CONFIG_SERIAL_SA1100=y
|
|
CONFIG_SERIAL_SA1100_CONSOLE=y
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_MCP_SA11X0=y
|
|
CONFIG_MCP_UCB1200=y
|
|
CONFIG_MCP_UCB1200_TS=y
|
|
CONFIG_FB=y
|
|
CONFIG_FB_MODE_HELPERS=y
|
|
CONFIG_FB_SA1100=y
|
|
# CONFIG_VGA_CONSOLE is not set
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_LOCOMO=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_TIMER=y
|
|
CONFIG_LEDS_TRIGGER_DISK=y
|
|
# CONFIG_DNOTIFY is not set
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_ROMFS_FS=y
|
|
CONFIG_NLS_DEFAULT="cp437"
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_CRC_CCITT=y
|
|
CONFIG_FONTS=y
|
|
CONFIG_FONT_MINI_4x6=y
|
|
# CONFIG_DEBUG_BUGVERBOSE is not set
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
# CONFIG_DETECT_SOFTLOCKUP is not set
|
|
CONFIG_DEBUG_MUTEXES=y
|