--- zzzz-none-000/linux-4.4.60/mm/Kconfig 2017-04-08 07:53:53.000000000 +0000 +++ dragonfly-4020-701/linux-4.4.60/mm/Kconfig 2018-11-08 13:36:17.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