Re: [PATCH 3/3] mm: vmscan: drop unused gfp_mask parameter from __node_reclaim()

From: Muchun Song

Date: Fri Jul 17 2026 - 09:02:56 EST




> On Jul 17, 2026, at 19:33, Ridong <ridong.chen@xxxxxxxxx> wrote:
>
> From: Ridong Chen <chenridong@xxxxxxxxxx>
>
> Commit 57972c78e678 ("mm/vmscan: make __node_reclaim() more generic")
> moved the scan_control construction out to the callers and passed the
> struct in by pointer. After that change every use of the gfp mask inside
> __node_reclaim() goes through sc->gfp_mask, leaving the gfp_mask parameter
> unused. Just remove the dead parameter and update the callers accordingly.
> No functional change.
>
> Signed-off-by: Ridong Chen <chenridong@xxxxxxxxxx>

Reviewed-by: Muchun Song <muchun.song@xxxxxxxxx>