MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This series fixes a deadline bug triggered during CPU hot-removal, which
prevents the CPU from being removed. For details, please refer to the
commit log in [2/2]. In addition, [1/2] exposes the
cpuset_cpus_allowed_locked() interface for use by [2/2].
v6 -> v7:
Provide cpuset_cpus_allowed_locked() for !CONFIG_CPUSETS
v5 -> v6:
Introduce the cpuset_cpus_allowed_locked() variant (thanks to Waiman)
Use local_cpu_mask_dl to avoid cpumask allocation on the stack (thanks to Juri and Waiman)
v4 -> v5:
Move the housekeeping part into deadline.c (Thanks for Waiman's suggestion)
Use cpuset_cpus_allowed() instead of introducing new cpuset function (Thanks for Ridong's suggestion)
Pingfan Liu (2):
cgroup/cpuset: Introduce cpuset_cpus_allowed_locked()
sched/deadline: Walk up cpuset hierarchy to decide root domain when
hot-unplug
include/linux/cpuset.h | 9 ++++++-
kernel/cgroup/cpuset.c | 51 ++++++++++++++++++++++++++------------
kernel/sched/deadline.c | 54 ++++++++++++++++++++++++++++++++++++-----
3 files changed, 92 insertions(+), 22 deletions(-)
--
2.49.0