]> Git Repo - linux.git/commit
sched/core: Check for available DL bandwidth in cpuset_cpu_inactive()
authorJuri Lelli <[email protected]>
Tue, 31 Mar 2015 08:53:37 +0000 (09:53 +0100)
committerIngo Molnar <[email protected]>
Thu, 2 Apr 2015 15:42:56 +0000 (17:42 +0200)
commit3c18d447b3b36a8d3c90dc37dfbd363cdb685d0a
treeea9dd78ff9cebdd03d7f8079b2c01e5331586054
parent4cd57f97135840f637431c92380c8da3edbe44ed
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Juri Lelli <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/core.c
This page took 0.084524 seconds and 4 git commands to generate.