skb_page_frag_refill(9)
π NAME
okay so bestie, this page is skb_page_frag_refill(9) from the Kernel API Manual, and it's literally about checking that a page_frag contains enough room. That's the whole vibe. β¨
β¨ SYNOPSIS
bool skb_page_frag_refill (unsigned int sz , struct page_frag *pfrag ,
gfp_t gfp );
πΈ ARGUMENTS
szβ the minimum size of the fragment we want to get. like, the smallest amount of room you're asking for, bestie πpfragβ pointer topage_frag. yes, it's giving pointer energy πgfpβ priority for memory allocation. the allocation priorities, not a gossip priority, but honestly both matter π
π NOTE
okay so important note, no cap: while this allocator tries to use high order pages, there is no guarantee that allocations succeed. π therefore,szMUST be less or equal thanPAGE_SIZE. periodt. π
π¦ SEE ALSO
the kernel file ./net/core/sock.c is in the group chat, and the whole squad is: sk_ns_capable(9), sk_capable(9), sk_net_capable(9), sk_set_memalloc(9), sk_alloc(9), sk_clone(9), sk_wait_data(9), __sk_mem_raise_allocated(9), __sk_mem_schedule(9), __sk_mem_reduce_allocated(9), __sk_mem_reclaim(9). iykyk π«Ά
sign-off time, bestie: this little icon comes from ./net/core, dated October 2026, and it's still skb_page_frag_refill(9) β slay, bye π
π
π¦ 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