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

Barry Song <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <CAGsJ_4xvO4R343WB9eZvUYb9sZ=fsjpZgzxi15s9s7gWY6dOzw@mail.gmail.com>
On Fri, Aug 21, 2026 at 2:41 PM Enlin Mu <[email protected]> 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 <[email protected]>
> Signed-off-by: Enlin Mu <[email protected]>

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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.