Re: [PATCH] mm/page_alloc: remove unneeded forward declaration of __free_pages_ok()

From: Johannes Weiner

Date: Thu Oct 22 2026 - 12:49:41 EST


On Thu, Oct 22, 2026 at 08:45:04PM +0800, Zenghui Yu wrote:
> From: "Zenghui Yu (Huawei)" <zenghui.yu@xxxxxxxxx>
>
> All remaining callers of __free_pages_ok() appear after its definition, so
> the forward declaration near the top of mm/page_alloc.c is no longer
> needed. Remove it.
>
> Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@xxxxxxxxx>

Reviewed-by: Johannes Weiner <hannes@xxxxxxxxxxx>