Re: [PATCH v2] mm/vmscan: fix comment logic in balance_pgdat

From: Barry Song

Date: Fri Aug 21 2026 - 03:08:10 EST


On Fri, Aug 21, 2026 at 2:41 PM Enlin Mu <enlin.mu@xxxxxxxxx> 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>

Thanks to Johannes for pointing out the "not" and "now" issues in v1.

I followed Johannes's comments. I also feel that the patch looks good.

Reviewed-by: Barry Song <baohua@xxxxxxxxxx>