page_pool_recycle_direct(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ page_pool_recycle_direct πŸ’…

okay so bestie, this is a page in the Kernel API Manual (yes, the actual kernel man pages, we're fancy now πŸŽ€) and it's about page_pool_recycle_direct β€” literally the function that drops a reference on a page pool page. sit down, drink your iced coffee, we're learning 🌸


πŸ¦‹ SYNOPSIS

void page_pool_recycle_direct (struct page_pool *pool , struct page
*page );

that's the whole signature, no cap. she takes two things and returns void β€” nothing back, she's not about that return-value life πŸ’œ


πŸŽ€ ARGUMENTS

  • pool β€” the pool your page came from in the first place. like, the origin pool. you gotta remember where you got it from, that's just manners 🫢
  • page β€” the page you're releasing a reference on. bye bestie, releasing you back πŸ¦‹

πŸ”₯ DESCRIPTION

so this one is similar to page_pool_put_full_page β€” like, they're siblings, same energy β€” but with one huge difference: the caller must guarantee safe context (think NAPI, that kind of thing) πŸ™ˆ

why? because she recycles the page directly into the pool fast cache. no detours, no scenic route, straight into the fast cache. and because she's that fast and that direct, you cannot just call her from anywhere β€” if you don't actually have that safe context, that's on you, and we don't do that here 😭

⚠️ real talk: "caller must guarantee safe context" is not a suggestion. it's the whole vibe check. get it wrong and you're in undefined-behaviour territory, no cap πŸ’€

⭐ SEE ALSO

that's a whole friend group right there, go say hi πŸ‘‘βœ¨


and that's the page, bestie 🧚 this cutie lives in ./include/net/page_pool and she was dated October 2026 β€” yes, the future, main character energy fr fr πŸ’–πŸŒˆ

πŸ“¦ where this page comes from