page_pool_is_unreadable(9)
π page_pool_is_unreadable β Kernel API Manual
okay so picture this: you're deep in the kernel, section 9 of the manual, and you just need to know one thing β will the buffers this page pool hands you be unreadable to the CPU? bestie, this page is literally your answer β¨
π NAME π
page_pool_is_unreadable β tells you whether the buffers it's gonna allocate will be unreadable for the CPU π
π¦ SYNOPSIS π¦
bool page_pool_is_unreadable (struct page_pool *pool );
πΈ ARGUMENTS πΈ
poolβ the page pool being queried, aka the thing we're side-eyeing π
β¨ DESCRIPTION β¨
so this helper checks if the page pool is gonna return buffers that are unreadable to the CPU / kernel. and lowkey that's only ever the case when user space bound a memory provider (mp) that returns unreadable memory to the queue served by the page pool. like, that's the whole scenario, fr fr π«Ά
and here's the plot twist: if PP_FLAG_ALLOW_UNREADABLE_NETMEM was set but there's no mp bound, this helper will return false. not me checking twice π so don't let the flag alone fool you, bestie.
also see netif_rxq_has_unreadable_mp β it's giving related-content energy π
π RETURN π
returns true if memory allocated by the page pool may be unreadable β that's it, that's the whole vibe π
π SEE ALSO π
β¨ Kernel file ./include/net/page_pool/helpers.h
β¨ page_pool allocator(9)
β¨ page_pool_dev_alloc_pages(9)
β¨ page_pool_dev_alloc_frag(9)
β¨ page_pool_fragment_page(9)
β¨ page_pool_put_full_page(9)
β¨ page_pool_recycle_direct(9)
β¨ page_pool_dma_sync_for_cpu(9)
like, the whole page pool friend group showed up to the function reference. iconic behavior, no notes π
and that's the page, bestie π this lil gem lives in ./include/net/page_pool and it's dated October 2026 β so go forth, check your pools, and slay π
π₯
π¦ 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