page_pool_create_percpu(9)
π¦ page_pool_create_percpu β like, the Kernel API Manual's cutest little pool-maker π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a kernel function page, and no cap, it's short and sweet. The function is page_pool_create_percpu, and its whole personality is: it creates a page pool for a given cpu. That's it, that's the vibe. Periodt. π
β¨ NAME β¨
page_pool_create_percpu β create a page pool for a given cpu.
Like, one cpu. Specifically that one. Not all of them. Obsessed with the specificity honestly. π«Ά
β¨ SYNOPSIS β¨
struct page_pool * page_pool_create_percpu (const struct
page_pool_params *params , int cpuid );
it's giving "returns you a struct page_pool *" πΈ so yeah, you hand it params and a cpu id, and it hands you back a pointer to a page pool. main character energy fr fr.
β¨ ARGUMENTS β¨
paramsβ the parameters, babes π it's aconst struct page_pool_params *, and for the full tea you gotta go seestruct page_pool_params. iykyk, that's where all the actual detail lives.cpuidβ the cpu identifier π literally just aninttelling it which cpu you mean.
ngl there are exactly two arguments here, so if you were bracing for a lore drop... that's the whole lore. π
β¨ SEE ALSO β¨
go drink some water and then go read these, bestie:
- the kernel file
./net/core/page_pool.cβ yes, the whole file, it's iconic page_pool_get_stats(9)page_pool_create(9)page_pool_put_netmem_bulk(9)page_pool_enable_direct_recycling(9)
and that's the page!! mwah π
this little diva lives in the ./net/core section of the Kernel API Manual, and it's dated October 2026 β so yeah, go create a page pool for one specific cpu and slay, bestie ππ
π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms