Re: [PATCH v7 3/3] mm: move reclaim-internal declarations out of swap.h
From: David Hildenbrand (Arm)
Date: Mon Jul 06 2026 - 07:09:38 EST
On 7/5/26 16:12, Jianyue Wu wrote:
> Keep include/linux/swap.h focused on swap-facing interfaces by moving
> MM-internal reclaim and workingset declarations into mm/internal.h.
>
> Leave the small set of LRU helper declarations that are used outside mm/
> in swap.h so this cleanup does not need a new public header under
> include/linux/.
>
> Suggested-by: Barry Song <baohua@xxxxxxxxxx>
> Suggested-by: Baoquan He <bhe@xxxxxxxxxx>
> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> Signed-off-by: Jianyue Wu <wujianyue000@xxxxxxxxx>
> ---
> include/linux/swap.h | 75 +++++-----------------------------------------------
> mm/internal.h | 67 ++++++++++++++++++++++++++++++++++++++++++++++
We likely want to split that up soon, but let's do that separately.
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David