__sk_mem_reclaim(9)
πΈ NAME πΈ
__sk_mem_reclaim(9) β straight outta the Kernel API Manual, and it's the function for reclaiming sk_forward_alloc and memory_allocated. periodt, that's the name and the whole vibe. π
β¨ SYNOPSIS β¨
okay bestie, here's the exact signature, no edits, no remixes:
void __sk_mem_reclaim (struct sock *sk , int amount );
π ARGUMENTS π
skβ the socket. That's it, that's the arg. π«Άamountβ the number of bytes, rounded down to aPAGE_SIZEmultiple. Yes, literally rounded down like that. β¨
π¦ SEE ALSO π¦
The manual points at the kernel file ./net/core/sock.c and this whole cross-reference friend group:
sk_ns_capable(9)sk_capable(9)sk_net_capable(9)sk_set_memalloc(9)sk_alloc(9)sk_clone(9)skb_page_frag_refill(9)sk_wait_data(9)__sk_mem_raise_allocated(9)__sk_mem_schedule(9)__sk_mem_reduce_allocated(9)
Mwah π this page is from source ./net/core, dated October 2026, and it's literally titled __sk_mem_reclaim(9). Bye 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