[PATCH v3 0/2] Invert cpu_hotplug_lock and cpuset_mutex locking order.

From: Prateek Sood
Date: Wed Nov 15 2017 - 09:21:00 EST


This patch does following
1- Remove circular dependency deadlock by inverting order of
cpu_hotplug_lock and cpuset_mutex.
2- Make cpuset_hotplug_workfn() synchronous for cpu hotplug path.
For memory hotplug path it still gets queued as a work item.

Prateek Sood (2):
cgroup/cpuset: remove circular dependency deadlock
cpuset: Make cpuset hotplug synchronous

include/linux/cpuset.h | 6 ----
kernel/cgroup/cpuset.c | 94 +++++++++++++++++++++++++++-----------------------
kernel/power/process.c | 2 --
kernel/sched/core.c | 1 -
4 files changed, 50 insertions(+), 53 deletions(-)

--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.,
is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.