diff options
author | Juri Lelli | 2015-03-31 10:53:37 +0200 |
---|---|---|
committer | Ingo Molnar | 2015-04-02 17:42:56 +0200 |
commit | 3c18d447b3b36a8d3c90dc37dfbd363cdb685d0a (patch) | |
tree | ea9dd78ff9cebdd03d7f8079b2c01e5331586054 /block | |
parent | sched/deadline: Always enqueue on previous rq when dl_task_timer() fires (diff) | |
download | kernel-qcow2-linux-3c18d447b3b36a8d3c90dc37dfbd363cdb685d0a.tar.gz kernel-qcow2-linux-3c18d447b3b36a8d3c90dc37dfbd363cdb685d0a.tar.xz kernel-qcow2-linux-3c18d447b3b36a8d3c90dc37dfbd363cdb685d0a.zip |
sched/core: Check for available DL bandwidth in cpuset_cpu_inactive()
Hotplug operations are destructive w.r.t. cpusets. In case such an
operation is performed on a CPU belonging to an exlusive cpuset, the
DL bandwidth information associated with the corresponding root
domain is gone even if the operation fails (in sched_cpu_inactive()).
For this reason we need to move the check we currently have in
sched_cpu_inactive() to cpuset_cpu_inactive() to prevent useless
cpusets reconfiguration in the CPU_DOWN_FAILED path.
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Juri Lelli <juri.lelli@gmail.com>
Link: http://lkml.kernel.org/r/1427792017-7356-2-git-send-email-juri.lelli@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions