Commit 18695a12 authored by Stephen Dickey's avatar Stephen Dickey Committed by Todd Kjos
Browse files

Revert "cgroup/cpuset: Convert cpuset_mutex to percpu_rwsem"



This reverts commit 1243dc51.

percpu_rwsem is an rcu based lock.  Under loaded conditions
this lock will require that each cpu perform a switch, causing
exessive delays with long-running tasks on those CPUs.

In the case of hotplug/pause, this can slow down the ability
to activate/deactivate a CPU.

Revert the change from cpuset_mutex to percpu_rwsem, to
eliminate that overhead, and revert to a global lock.

Bug: 161210528
Change-Id: Id00dcaa6d601b561d1321d3e944b6c52e9663f1a
Signed-off-by: default avatarStephen Dickey <dickey@codeaurora.org>
parent 782131fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment