Re: [PATCH v2] vm_swappiness=0 should still try to avoid swapping anon memory

From: Alexey Avramov
Date: Sat Aug 07 2021 - 02:15:06 EST


>vm_swappiness=0 should still try to avoid swapping anon memory

Swapping with swappiness=0 depends on vm.watermark_scale_factor.
Decrease vm.watermark_scale_factor to avoid swapping and get OOM,
and increase vm.watermark_scale_factor to get successful swapping
even with swappiness=0.

Maybe I misunderstood you and you are solving some new problem?