Re: [PATCH 1/5] hibernation: make swsusp_page helpers static
From: David Hildenbrand (Arm)
Date: Wed Sep 23 2026 - 06:15:49 EST
On 9/17/26 08:07, Mike Rapoport (Microsoft) wrote:
> Since commit 31a1b9d7fe768 ("mm: page_alloc: move mark_free_page() into
> snapshot.c") several helpers that set, clear and query free and forbidden
> page status are only used inside kernel/power/snapshot.c
>
> Make them static and add necessary forward declarations near the existing
> declarations of similar helpers.
>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
> ---
Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David