css_rstat_updated_list(9)
π NAME π
okay so bestie, this is css_rstat_updated_list(9) from the Kernel API Manual β and its whole job is literally build a list of updated css's to be flushed π
β¨. That's the name and the vibe, no cap.
π SYNOPSIS π
struct cgroup_subsys_state * css_rstat_updated_list (struct
cgroup_subsys_state *root , int cpu );
π¦ ARGUMENTS π¦
rootβ the root of the css subtree you're traversing π³πcpuβ the target cpu π₯οΈβ¨
π RETURN π
A singly linked list of css's to be flushed π«Ά β that's the whole return, and it's giving exactly what it says.
π₯ DESCRIPTION π₯
So the function walks the updated rstat_cpu tree on cpu from root π²π«. During that traversal, every returned css gets unlinked from the updated tree β like, it's removed as it comes back, okay? π
The only ordering guarantee is this: for a parent and a child pair covered by a given traversal, the child is before its parent in the list πβ‘οΈπ§. That's it. Don't go inventing more ordering promises, bestie π.
Also note: updated_children is self terminated and points to a list of child css's if not empty π. Whereas updated_next is like a sibling link within the children list and is terminated by the parent css πΈ. One exception, because of course there's an exception: the css root, whose updated_next can be self terminated πβ¨.
π§ SEE ALSO π§
- Kernel file
./kernel/cgroup/rstat.c__css_rstat_updated(9) css_rstat_push_children(9)css_rstat_flush(9)ss_rstat_init(9)
mwah π that's the whole page, bestie β source ./kernel/cgroup, October 2026, and the manual name is css_rstat_updated_list(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