mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
cgroup/cpuset: Fix violation of cpuset locking rule
The cpuset fields that manage partition root state do not strictly follow the cpuset locking rule that update to cpuset has to be done with both the callback_lock and cpuset_mutex held. This is now fixed by making sure that the locking rule is upheld. Fixes:3881b86128("cpuset: Add an error state to cpuset.sched.partition") Fixes:4b842da276("cpuset: Make CPU hotplug work with partition") Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
15d428e6fe
commit
6ba34d3c73
1 changed files with 35 additions and 23 deletions
Loading…
Add table
Add a link
Reference in a new issue