Re: [PATCH] mm: Fix memcg writeback for rt tasks

From: Andrew Morton
Date: Tue Apr 11 2023 - 00:36:24 EST


On Tue, 4 Apr 2023 00:57:08 +0800 yizhou.tang@xxxxxxxxxx wrote:

> From: Tang Yizhou <yizhou.tang@xxxxxxxxxx>
>
> Neil said he didn't know what was wanted for realtime in the commit
> message of commit a37b0715ddf3 ("mm/writeback: replace PF_LESS_THROTTLE
> with PF_LOCAL_THROTTLE"). I think we need to distinguish between the
> global writeback and memcg writeback in domain_dirty_limits() for the
> rt tasks.

Why do you think this?

> Fixes: a53eaff8c119 ("MM: increase safety margin provided by PF_LESS_THROTTLE")

In what way does it fix it? Please describe the user-visible effects
of this change.