diff options
| author | Xunlei Pang <[email protected]> | 2015-07-04 15:39:23 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-08-03 12:21:20 +0200 |
| commit | 3fe33bcdd358dd8c641cf4d92c9d2d9972ca94dd (patch) | |
| tree | 6894d6ade36cab085d109f67ba9d667eda262552 /tools/perf/scripts/python | |
| parent | 8fd373548eed815858d7b5534971bdc64b4d8d2c (diff) | |
sched/deadline: Remove a redundant condition from task_woken_dl()
'p' has been already queued at this point, so "!task_running(rq, p)"
and "p->nr_cpus_allowed > 1" imply that "has_pushable_dl_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')
0 files changed, 0 insertions, 0 deletions