summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2025-09-10 09:51:06 +0200
committerPeter Zijlstra <peterz@infradead.org>2025-10-16 11:13:52 +0200
commitabfc01077df66593f128d966fdad1d042facc9ac (patch)
tree5b0192685eee1a6b6595fb638de9919257b5ebca /tools/lib/python/kdoc/python_version.py
parent942b8db965006cf655d356162f7091a9238da94e (diff)
sched: Fix do_set_cpus_allowed() locking
All callers of do_set_cpus_allowed() only take p->pi_lock, which is not sufficient to actually change the cpumask. Again, this is mostly ok in these cases, but it results in unnecessarily complicated reasoning. Furthermore, there is no reason what so ever to not just take all the required locks, so do just that. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Juri Lelli <juri.lelli@redhat.com> Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions