summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.preempt
diff options
context:
space:
mode:
authorViresh Kumar2018-04-26 12:30:51 +0200
committerIngo Molnar2018-05-04 10:00:08 +0200
commitc976a862ba4869c1e75c39b9b8f1e9ebfe90cdfc (patch)
tree00d6e6fe00a742000db7219a8a24d206857acb25 /kernel/Kconfig.preempt
parentsched/fair: Rearrange select_task_rq_fair() to optimize it (diff)
downloadkernel-qcow2-linux-c976a862ba4869c1e75c39b9b8f1e9ebfe90cdfc.tar.gz
kernel-qcow2-linux-c976a862ba4869c1e75c39b9b8f1e9ebfe90cdfc.tar.xz
kernel-qcow2-linux-c976a862ba4869c1e75c39b9b8f1e9ebfe90cdfc.zip
sched/fair: Avoid calling sync_entity_load_avg() unnecessarily
Call sync_entity_load_avg() directly from find_idlest_cpu() instead of select_task_rq_fair(), as that's where we need to use task's utilization value. And call sync_entity_load_avg() only after making sure sched domain spans over one of the allowed CPUs for the task. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vincent Guittot <vincent.guittot@linaro.org> Link: http://lkml.kernel.org/r/cd019d1753824c81130eae7b43e2bbcec47cc1ad.1524738578.git.viresh.kumar@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/Kconfig.preempt')
0 files changed, 0 insertions, 0 deletions