summaryrefslogtreecommitdiff
path: root/include/linux/errseq.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-05-05 03:51:18 +0300
committerTejun Heo <tj@kernel.org>2026-05-15 20:24:22 +0300
commit44fabf05634ce9e90b3fb179ea962995b7bbaa09 (patch)
treead5d5b33088a5f2d6b8965ea86e0c0a4ac4cc557 /include/linux/errseq.h
parent3360a5c16d87933fb74b530f5e016eb3dfffee5d (diff)
downloadlinux-44fabf05634ce9e90b3fb179ea962995b7bbaa09.tar.xz
cgroup: Annotate unlocked nr_populated_* accesses with READ_ONCE/WRITE_ONCE
cgroup_update_populated() updates nr_populated_csets, nr_populated_domain_children, and nr_populated_threaded_children under css_set_lock, but cgroup_has_tasks(), cgroup_is_populated(), and cgroup_can_be_thread_root() read them without holding it. Use READ_ONCE/WRITE_ONCE. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/errseq.h')
0 files changed, 0 insertions, 0 deletions