--- zzzz-none-000/linux-4.4.271/init/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/init/Kconfig 2023-01-11 09:25:44.000000000 +0000 @@ -336,6 +336,7 @@ source "kernel/irq/Kconfig" source "kernel/time/Kconfig" +source "kernel/Kconfig.avm" menu "CPU/Task time and stats accounting" @@ -1297,6 +1298,10 @@ If unsure, say N. +config CRASHLOG + bool "Crash logging" + depends on (!NO_BOOTMEM || HAVE_MEMBLOCK) && !(ARM64 || ARM || SPARC || PPC) + config BLK_DEV_INITRD bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support" depends on BROKEN || !FRV @@ -1369,6 +1374,17 @@ the unaligned access emulation. see arch/parisc/kernel/unaligned.c for reference +config KALLSYMS_UNCOMPRESSED + bool "Keep kallsyms uncompressed" + depends on KALLSYMS + help + Normally kallsyms contains compressed symbols (using a token table), + reducing the uncompressed kernel image size. Keeping the symbol table + uncompressed significantly improves the size of this part in compressed + kernel images. + + Say N unless you need compressed kernel images to be small. + config HAVE_PCSPKR_PLATFORM bool @@ -1654,6 +1670,15 @@ an embedded system so certain expert options are available for configuration. +config MANGLE_BOOTARGS + bool "Rename offending bootargs" + depends on EXPERT + help + Sometimes the bootloader passed bogus root= and rootfstype= + parameters to the kernel, and while you want to ignore them, + you need to know the values f.e. to support dual firmware + layouts on the flash. + config HAVE_PERF_EVENTS bool help @@ -1730,6 +1755,17 @@ SLUB sysfs support. /sys/slab will not exist and there will be no support for cache validation etc. +config SLUB_AVM_ALLOC_LIST + default y + bool "SLUB: trace alloc/free'd caller (AVM)" + depends on PROC_FS + depends on SLUB_DEBUG + depends on AVM_ENHANCED + help + Very useful lightweight feature. + See allocator and free-caller on memory-classifier + Identify Memleak-caller on OOM or over /proc/slab_allocators + config COMPAT_BRK bool "Disable heap randomization" default y @@ -2046,6 +2082,13 @@ endchoice +config MODULE_STRIPPED + bool "Reduce module size" + depends on MODULES + help + Remove module parameter descriptions, author info, version, aliases, + device tables, etc. + endif # MODULES config MODULES_TREE_LOOKUP @@ -2085,3 +2128,4 @@ functions to call on what tags. source "kernel/Kconfig.locks" +source "kernel/Kconfig.avm"