diff options
| author | Byungchul Park <[email protected]> | 2025-07-02 05:32:54 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-08 01:40:09 +0000 |
| commit | b56ce86846225d6bc96ca9428ad945b4d86b96d5 (patch) | |
| tree | 8ed03754bc832f94cc8ca78acbfa742dccd9f5dc /net/core/page_pool.c | |
| parent | page_pool: rename __page_pool_release_page_dma() to __page_pool_release_netme... (diff) | |
| download | kernel-b56ce86846225d6bc96ca9428ad945b4d86b96d5.tar.gz kernel-b56ce86846225d6bc96ca9428ad945b4d86b96d5.zip | |
page_pool: rename __page_pool_alloc_pages_slow() to __page_pool_alloc_netmems_slow()
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 <[email protected]>
Reviewed-by: Mina Almasry <[email protected]>
Reviewed-by: Toke Høiland-Jørgensen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/page_pool.c')
| -rw-r--r-- | net/core/page_pool.c | 6 |
1 files 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); |
