diff options
| author | Xunlei Pang <[email protected]> | 2015-07-04 15:39:22 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-08-03 12:21:19 +0200 |
| commit | 8fd373548eed815858d7b5534971bdc64b4d8d2c (patch) | |
| tree | 71b7107ae6ee357c0a229414f543486b044dba64 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 985d3a4c11cd28251bcc7925aa2d7a9038910384 (diff) | |
sched/rt: Remove a redundant condition from task_woken_rt()
'p' has been already queued at this point, so "!task_running(rq, p)"
and "p->nr_cpus_allowed > 1" imply that "has_pushable_tasks(rq)" is
true, so it can be removed.
Signed-off-by: Xunlei Pang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
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