parent_mem_cgroup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ parent_mem_cgroup(9) πŸ‘‘

okay so bestie, this one is straight out of the Kernel API Manual, and it's giving tiny parent-finding function energy ✨ no cap.


πŸ’– NAME πŸ’–

parent_mem_cgroup β€” find the accounting parent of a memcg πŸŽ€


✨ SYNOPSIS ✨

struct mem_cgroup * parent_mem_cgroup (struct mem_cgroup *memcg );

🫢 ARGUMENTS 🫢

  • memcg β€” the memcg whose parent you're trying to find. that's the whole argument, bestie πŸ’…

🌸 DESCRIPTION 🌸

So basically: this returns the parent memcg 🫢 or NULL if this is the root. periodt. that's the vibe, and that's the whole lookup πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

the page points at the kernel file ./include/linux/memcontrol.h, and the SEE ALSO crew is:


mwah πŸ’‹ that's the page, bestie β€” source/version ./include/linux, dated October 2026 🌈⭐

πŸ“¦ where this page comes from