Re: [PATCH v2] mm/vmscan: fix comment logic in balance_pgdat
From: Johannes Weiner
Date: Mon Aug 24 2026 - 15:59:32 EST
On Fri, Aug 21, 2026 at 02:40:57PM +0800, Enlin Mu wrote:
> In balance_pgdat(), when the low watermark is met, processes sleeping on
> pfmemalloc_wait are woken up because they are able to safely make forward
> progress.
>
> However, the comment incorrectly states "they should not be able",
> which contradicts the actual code behavior. Fix this typo to accurately
> reflect the logic.
>
> No functional changes are introduced.
>
> Signed-off-by: Enlin Mu <enlin.mu@xxxxxxxxxx>
> Signed-off-by: Enlin Mu <enlin.mu@xxxxxxxxx>
Looks good, thanks for updating the patch.
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>