purge_effective_progs(9)
π NAME π
okay so bestie, welcome to purge_effective_progs(9) from the Kernel API Manual β and it is literally the recovery arc β¨ After compute_effective_progs fails to alloc the new cgrp->bpf.inactive table, we can recover by recomputing the array in place. no cap, that's the whole glow-up π«Ά
β¨ SYNOPSIS β¨
void purge_effective_progs (struct cgroup *cgrp , struct bpf_prog_list *pl , enum cgroup_bpf_attach_type atype );
it's giving void, so nothing comes back β just vibes and a recomputed array π
π ARGUMENTS π
cgrpβ the cgroup whose descendants we're traversing. that's the whole βwhich descendants to traversβ situation, but make it make sense πplβ theprog_listentry being detached. main character energy fr fr.atypeβ type of detach operation. okayyy, specifying the detach vibe π₯
π SEE ALSO π
Kernel file ./kernel/bpf/cgroup.c is where the magic lives, bestie. also go say hi to the whole squad:
cgroup_bpf_release(9)cgroup_bpf_release_fn(9)cgroup_bpf_inherit(9)__cgroup_bpf_attach(9)__cgroup_bpf_replace(9)__cgroup_bpf_detach(9)__cgroup_bpf_run_filter_skb(9)__cgroup_bpf_run_filter_sk(9)__cgroup_bpf_run_filter_sock_addr(9)__cgroup_bpf_run_filter_sock_ops(9)__cgroup_bpf_run_filter_sysctl(9)
okay that's the page, bestie π«Ά this cutie is from ./kernel/bpf, dated October 2026, and it's literally called purge_effective_progs(9) β periodt. π
π¦ 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