diff options
| author | Guopeng Zhang <zhangguopeng@kylinos.cn> | 2026-08-10 17:55:59 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-10 09:27:38 -1000 |
| commit | 26d3a59e0241c3ef9f66ae1ae990f9326acbc059 (patch) | |
| tree | 6d6eb9a3fc769fc2736318ddf8b07783980feeb4 /tools/perf/scripts/python/bin | |
| parent | 77bc7e952f660a7bab9741fe352f960f3675a650 (diff) | |
cgroup/cpuset: Use WRITE_ONCE() for shared prs_err updates
cpuset_partition_show() reads cs->prs_err without cpuset_mutex using
READ_ONCE(). The field is documented as not lock protected, but several
updates to live cpusets still use plain stores.
Convert the remaining prs_err stores on live cpusets to WRITE_ONCE().
Fixes: 0c7f293efc87 ("cgroup/cpuset: Add cpuset.cpus.exclusive.effective for v2")
Assisted-by: LLM
Signed-off-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
