css_rstat_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… css_rstat_flush(9) β€” Kernel API Manual

hey bestie, welcome to the css_rstat_flush(9) page β€” this is the Kernel API Manual moment where we make cgroup stats behave ✨


🌸 NAME 🌸

css_rstat_flush β€” flush stats in @css's rstat subtree πŸ’–


✨ SYNOPSIS ✨

__bpf_kfunc void css_rstat_flush (struct cgroup_subsys_state *css );

πŸŽ€ ARGUMENTS πŸŽ€

  • css β€” target cgroup subsystem state. that's the thing we're flushing, bestie 🫢

πŸ’… DESCRIPTION πŸ’…

okay so this function is literally the stats glow-up ✨ It collects all per-cpu stats in css's subtree into the global counters and propagates them upwards. After this function returns, all rstat nodes in the subtree have up-to-date ->stat. no cap πŸ’―

it also gets all rstat nodes in the subtree β€” including css β€” off the ->updated_children lists. cleaning up the group chat, basically πŸ§ΉπŸ’¬

heads up bestie: this function may block 😴 so don't act surprised when it does.

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ this page is sourced from ./kernel/cgroup, dated October 2026, and it's the css_rstat_flush(9) manual page β€” periodt πŸ‘‘πŸ’–

πŸ“¦ where this page comes from