purge_effective_progs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the prog_list entry 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:


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