diff options
author | Juri Lelli <[email protected]> | 2019-07-19 15:59:58 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-07-25 15:55:03 +0200 |
commit | d74b27d63a8bebe2fe634944e4ebdc7b10db7a39 (patch) | |
tree | 4fe4cf61f19034af73e2851e1e2f3ad35a24c063 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | 1243dc518c9da467da6635313a2dbb41b8ffc275 (diff) |
cgroup/cpuset: Change cpuset_rwsem and hotplug lock order
cpuset_rwsem is going to be acquired from sched_setscheduler() with a
following patch. There are however paths (e.g., spawn_ksoftirqd) in
which sched_scheduler() is eventually called while holding hotplug lock;
this creates a dependecy between hotplug lock (to be always acquired
first) and cpuset_rwsem (to be always acquired after hotplug lock).
Fix paths which currently take the two locks in the wrong order (after
a following patch is applied).
Tested-by: Dietmar Eggemann <[email protected]>
Signed-off-by: Juri Lelli <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions