--- zzzz-none-000/linux-4.19.183/init/Kconfig 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/init/Kconfig 2023-06-28 08:54:21.000000000 +0000 @@ -1604,6 +1604,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 SLUB_MEMCG_SYSFS_ON default n bool "Enable memcg SLUB sysfs support by default" if EXPERT @@ -2024,3 +2035,5 @@ # . config ARCH_HAS_SYSCALL_WRAPPER def_bool n + +source "kernel/Kconfig.avm"