--- zzzz-none-000/linux-5.4.213/init/Kconfig 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/init/Kconfig 2024-05-29 11:20:02.000000000 +0000 @@ -374,6 +374,7 @@ source "kernel/irq/Kconfig" source "kernel/time/Kconfig" source "kernel/Kconfig.preempt" +source "kernel/Kconfig.avm" menu "CPU/Task time and stats accounting" @@ -1673,6 +1674,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 @@ -1769,6 +1779,17 @@ controlled by slub_memcg_sysfs boot parameter and this config option determines the parameter's default value. +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 @@ -2197,6 +2218,13 @@ If unsure, or if you need to build out-of-tree modules, say N. +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 @@ -2230,6 +2258,7 @@ functions to call on what tags. source "kernel/Kconfig.locks" +source "kernel/Kconfig.avm" config ARCH_HAS_SYNC_CORE_BEFORE_USERMODE bool