Re: [PATCH v5 07/18] mm: move some stuff to mm/page_alloc.h
From: Zi Yan
Date: Fri Jul 03 2026 - 10:54:34 EST
On Fri Jul 3, 2026 at 8:31 AM EDT, Brendan Jackman wrote:
> Some of this stuff in the public header is only used internally so
> shrink the scope to avoid silently growing new users.
>
> drain_local_pages() is still used from kernel/power/snapshot.c so that
> needs to stay behind.
>
> Reviewed-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>
> Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>
> ---
> include/linux/gfp.h | 26 --------------------------
> mm/page_alloc.h | 27 +++++++++++++++++++++++++++
> mm/vmstat.c | 1 +
> 3 files changed, 28 insertions(+), 26 deletions(-)
>
Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>
--
Best Regards,
Yan, Zi