--- zzzz-none-000/linux-4.4.60/init/Kconfig 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/init/Kconfig 2021-02-04 17:41:59.000000000 +0000 @@ -26,6 +26,13 @@ config BUILDTIME_EXTABLE_SORT bool +config THREAD_INFO_IN_TASK + bool + help + Select this to move thread_info off the stack into task_struct. To + make this work, an arch will need to remove all thread_info fields + except flags and fix any runtime bugs. + menu "General setup" config BROKEN @@ -326,6 +333,7 @@ source "kernel/irq/Kconfig" source "kernel/time/Kconfig" +source "kernel/Kconfig.avm" menu "CPU/Task time and stats accounting" @@ -1286,6 +1294,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 @@ -1345,6 +1357,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 @@ -1623,6 +1646,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 @@ -1699,6 +1731,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 @@ -2015,6 +2058,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 @@ -2054,3 +2104,4 @@ functions to call on what tags. source "kernel/Kconfig.locks" +source "kernel/Kconfig.avm"