diff options
| author | Viresh Kumar <[email protected]> | 2017-05-24 10:59:54 +0530 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-08-10 12:18:11 +0200 |
| commit | c7132dd6f0e3b07bd4541cda9040897cc460d855 (patch) | |
| tree | 63ff23cb2418a3339db739013dd3c2ee642c6dbf /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5b713a3d949bd7f8c615a335a8c40297586bc1b1 (diff) | |
sched/fair: Pass 'rq' to weighted_cpuload()
weighted_cpuload() uses the cpu number passed to it get pointer to the
runqueue. Almost all callers of weighted_cpuload() already have the rq
pointer with them and can send that directly to weighted_cpuload(). In
some cases the callers actually get the CPU number by doing cpu_of(rq).
It would be simpler to pass rq to weighted_cpuload().
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vincent Guittot <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/b7720627e0576dc29b4ba3f9b6edbc913bb4f684.1495603536.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions