--- zzzz-none-000/linux-4.4.271/mm/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/mm/Kconfig 2023-04-19 10:22:30.000000000 +0000 @@ -342,6 +342,16 @@ This value can be changed after boot using the /proc/sys/vm/mmap_min_addr tunable. +config AVM_LOW_MEMORY_STRATEGY + bool "Enable low memory block reuse strategie fix" + depends on MMU + default 'n' + help + Tow fixes a inserted into block reuse agorithm. + a) try not to free block with page count more then XX. This value is + between 2 an 10, depending how low memory is. This value changes dynamicly. + b) chance the relation between inactive and active blocks from 1:1 to 1:2 + config ARCH_SUPPORTS_MEMORY_FAILURE bool