mem_cgroup_sk_uncharge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ mem_cgroup_sk_uncharge(9) πŸŽ€

okay bestie, welcome to mem_cgroup_sk_uncharge(9) from the Kernel API Manual β€” this is literally the page about uncharging socket memory, and it's giving β€œsmall function, big cleanup energy” πŸ’…βœ¨


🌸 NAME 🌸

mem_cgroup_sk_uncharge β€” uncharge socket memory. periodt πŸ’–


✨ SYNOPSIS ✨

void mem_cgroup_sk_uncharge (const struct sock *sk , unsigned int nr_pages );

it's a void situation, so no return-value drama here, bestie 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sk β€” the socket in memcg to uncharge πŸ‘‘
  • nr_pages β€” the number of pages to uncharge, no cap πŸŽ€

πŸ’– SEE ALSO πŸ’–

Kernel file ./mm/memcontrol.c, plus all these iconic besties:


that's the whole vibe πŸ’– this page comes from source/version ./mm, dated October 2026 β€” mwah, go uncharge those pages bestie πŸ«ΆπŸŽ€πŸŒˆ

πŸ“¦ where this page comes from