diff options
author | 2017-05-24 10:59:55 +0530 | |
---|---|---|
committer | 2017-08-10 12:18:11 +0200 | |
commit | 9674f5cad22a590c865a330ce333026b9f9c078b (patch) | |
tree | ebd0367c4b73382f18ed50ea0b35feabf6f0c104 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched/fair: Pass 'rq' to weighted_cpuload() (diff) | |
download | linux-dev-9674f5cad22a590c865a330ce333026b9f9c078b.tar.xz linux-dev-9674f5cad22a590c865a330ce333026b9f9c078b.zip |
sched/fair: Avoid checking cfs_rq->nr_running twice
Rearrange pick_next_task_fair() a bit to avoid checking
cfs_rq->nr_running twice for the case where FAIR_GROUP_SCHED is enabled
and the previous task doesn't belong to the fair class.
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>
Cc: linaro-kernel@lists.linaro.org
Link: http://lkml.kernel.org/r/000903ab3df3350943d3271c53615893a230dc95.1495603536.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions