parent_misc(9)
πΈ NAME πΈ
okay bestie, meet parent_misc(9) from the Kernel API Manual β the little helper that does exactly one thing: Get the parent of the passed misc cgroup. no cap, that's the name and the whole job. π β¨
β¨ SYNOPSIS β¨
struct misc_cg * parent_misc (struct misc_cg *cgroup );
π ARGUMENTS π
cgroupβcgroupwhose parent needs to be fetched. that's the entire assignment, bestie π«Ά
π¦ CONTEXT π¦
Any context. literally any context, no special vibe check needed β¨
π RETURN π
struct misc_cg*β Parent of the cgroup. πNULLβ If cgroup is null or the passed cgroup does not have a parent. π
π₯ SEE ALSO π₯
Kernel file ./kernel/cgroup/misc.c is right here, and these linked faves are all invited to the group chat:
valid_type(9)misc_cg_set_capacity(9)misc_cg_cancel_charge(9)misc_cg_try_charge(9)misc_cg_uncharge(9)misc_cg_max_show(9)misc_cg_max_write(9)misc_cg_current_show(9)misc_cg_peak_show(9)misc_cg_capacity_show(9)misc_cg_alloc(9)misc_cg_free(9)
xoxo π source/version: ./kernel/cgroup Β· date: October 2026 Β· parent_misc(9) out π
π¦ 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