Subject: Re: [PATCH net-next] net: page_pool: scale alloc cache with PAGE_SIZE

From: Jakub Kicinski <[email-masked]>
Date: Wed, 11 Mar 2026 17:56:02 -0700

On Mon, 9 Mar 2026 10:13:01 +0200 Nimrod Oren wrote:
> The current page_pool alloc-cache size and refill values were chosen to
> match the NAPI budget and to leave headroom for XDP_DROP recycling.
> These fixed values do not scale well with large pages,
> as they significantly increase a given page_pool's memory footprint.
> 
> Scale these values to better balance memory footprint across page sizes,
> while keeping behavior on 4KB-page systems unchanged.

Jesper WDYT? I'm of course happy with this simple approach.
https://lore.kernel.org/all/[email-masked]/