Re: [PATCH] mm: memcontrol: Set the correct memcg swappiness restriction

From: Baolin Wang
Date: Tue Aug 03 2021 - 11:44:55 EST




On 2021/8/3 23:20, Vlastimil Babka wrote:
On 7/30/21 8:39 AM, Michal Hocko wrote:
On Fri 30-07-21 14:26:35, Baolin Wang wrote:
Since commit c843966c556d ("mm: allow swappiness that prefers reclaiming
anon over the file workingset") has expended the swappiness value to
make swap to be preferred in some systems. We should also change the
memcg swappiness restriction to allow memcg swap-preferred.

Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>

Yes, this looks like an omission. It doesn't really make sense to have
two different constrains on the value.

Acked-by: Michal Hocko <mhocko@xxxxxxxx>

So, also Fixes: c843966c556d ("mm: allow swappiness that prefers reclaiming anon
over the file workingset")
?

Sure. Andrew, do I need resend it with adding fixes tag, or you can help to add it? Thanks.