Skip to content
Snippets Groups Projects
Commit 10dfcfda authored by Waiman Long's avatar Waiman Long Committed by Greg Kroah-Hartman
Browse files

cgroup/cpuset: Fix violation of cpuset locking rule


[ Upstream commit 6ba34d3c ]

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: 3881b861 ("cpuset: Add an error state to cpuset.sched.partition")
Fixes: 4b842da2 ("cpuset: Make CPU hotplug work with partition")
Signed-off-by: default avatarWaiman Long <longman@redhat.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cbc97661
No related branches found
No related tags found
1 merge request!15.10.61 -> 5.10.152 upgrade
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment