Re: [PATCH 3/9] mm, swap: rename and move some swap cluster definition and helpers

From: Barry Song
Date: Tue Sep 02 2025 - 01:54:20 EST


On Sat, Aug 23, 2025 at 3:21 AM Kairui Song <ryncsn@xxxxxxxxx> wrote:
>
> From: Kairui Song <kasong@xxxxxxxxxxx>
>
> No feature change, move cluster related definitions and helpers to
> mm/swap.h, also tidy up and add a "swap_" prefix for cluster lock/unlock
> helpers, so they can be used outside of swap files.
>
> Signed-off-by: Kairui Song <kasong@xxxxxxxxxxx>

Reviewed-by: Barry Song <baohua@xxxxxxxxxx>

Thanks
Barry