Re: [PATCH v2] mm: vmscan: abort proactive reclaim early when freezing for suspend

From: Richard Chang

Date: Thu Jul 09 2026 - 23:32:19 EST


Hi Michal,

On Thu, Jul 9, 2026 at 8:06 PM Michal Hocko <mhocko@xxxxxxxx> wrote:
>
> The changelog doesn't explain whether this is MGRLU specific problem as
> the fix is MGRLU specific AFAICS.
>
I will prepare the v3 changelog update. Thanks.

> Also do I get it right that freezing a task while doing the pro-active
> reclaim will force EINTR early return even if no real signal was
> delivered to the task?
>
Yes, that is correct.
The PM freezer ( freeze_task() ) calls fake_signal_wake_up(), which
sets TIF_SIGPENDING on the target task.
Returning -EINTR when checking by signal_pending(current) is already
the existing behavior of user_proactive_reclaim().
This patch does not change the behavior, it just allows the task to
exit the inner loop quickly.