OSDN Git Service

sched/topology: Remove SD_BALANCE_WAKE on asymmetric capacity systems
authorMorten Rasmussen <morten.rasmussen@arm.com>
Thu, 6 Feb 2020 19:19:55 +0000 (19:19 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 20 Feb 2020 20:03:14 +0000 (21:03 +0100)
commita526d466798d65cff120ee00ef92931075bf3769
tree52e2dfc3616e6de03a8fa0e14198b9b8f06e4c46
parentb7a331615d254191e7f5f0e35aec9adcd6acdc54
sched/topology: Remove SD_BALANCE_WAKE on asymmetric capacity systems

SD_BALANCE_WAKE was previously added to lower sched_domain levels on
asymmetric CPU capacity systems by commit:

  9ee1cda5ee25 ("sched/core: Enable SD_BALANCE_WAKE for asymmetric capacity systems")

to enable the use of find_idlest_cpu() and friends to find an appropriate
CPU for tasks.

That responsibility has now been shifted to select_idle_sibling() and
friends, and hence the flag can be removed. Note that this causes
asymmetric CPU capacity systems to no longer enter the slow wakeup path
(find_idlest_cpu()) on wakeups - only on execs and forks (which is aligned
with all other mainline topologies).

Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
[Changelog tweaks]
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Quentin Perret <qperret@google.com>
Link: https://lkml.kernel.org/r/20200206191957.12325-3-valentin.schneider@arm.com
kernel/sched/topology.c