parent_mem_cgroup(9)
π 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:
mem_cgroup_shrink_is_root(9)mem_cgroup_charge(9)mem_cgroup_uncharge(9)mem_cgroup_lruvec(9)folio_lruvec(9)
mwah π that's the page, bestie β source/version ./include/linux, dated October 2026 πβ
π¦ 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