On Wed, 2 Jul 2025 at 08:33, Byungchul Park <byungchul@xxxxxx> wrote: > > Now that __page_pool_alloc_pages_slow() is for allocating netmem, not > struct page, rename it to __page_pool_alloc_netmems_slow() to reflect > what it does. > > Signed-off-by: Byungchul Park <byungchul@xxxxxx> > Reviewed-by: Mina Almasry <almasrymina@xxxxxxxxxx> > Reviewed-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > --- Reviewed-by: Ilias Apalodimas <ilias.apalodimas@xxxxxxxxxx> > net/core/page_pool.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/net/core/page_pool.c b/net/core/page_pool.c > index 95ffa48c7c67..05e2e22a8f7c 100644 > --- a/net/core/page_pool.c > +++ b/net/core/page_pool.c > @@ -544,8 +544,8 @@ static struct page *__page_pool_alloc_page_order(struct page_pool *pool, > } > > /* slow path */ > -static noinline netmem_ref __page_pool_alloc_pages_slow(struct page_pool *pool, > - gfp_t gfp) > +static noinline netmem_ref __page_pool_alloc_netmems_slow(struct page_pool *pool, > + gfp_t gfp) > { > const int bulk = PP_ALLOC_CACHE_REFILL; > unsigned int pp_order = pool->p.order; > @@ -615,7 +615,7 @@ netmem_ref page_pool_alloc_netmems(struct page_pool *pool, gfp_t gfp) > if (static_branch_unlikely(&page_pool_mem_providers) && pool->mp_ops) > netmem = pool->mp_ops->alloc_netmems(pool, gfp); > else > - netmem = __page_pool_alloc_pages_slow(pool, gfp); > + netmem = __page_pool_alloc_netmems_slow(pool, gfp); > return netmem; > } > EXPORT_SYMBOL(page_pool_alloc_netmems); > -- > 2.17.1 >