diff options
author | Xunlei Pang <pang.xunlei@linaro.org> | 2015-07-04 15:39:22 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-03 12:21:19 +0200 |
commit | 8fd373548eed815858d7b5534971bdc64b4d8d2c (patch) | |
tree | 71b7107ae6ee357c0a229414f543486b044dba64 /usr/.gitignore | |
parent | 985d3a4c11cd28251bcc7925aa2d7a9038910384 (diff) | |
download | blackbird-op-linux-8fd373548eed815858d7b5534971bdc64b4d8d2c.tar.gz blackbird-op-linux-8fd373548eed815858d7b5534971bdc64b4d8d2c.zip |
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 <pang.xunlei@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Juri Lelli <juri.lelli@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1435995563-3723-1-git-send-email-xlpang@126.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'usr/.gitignore')
0 files changed, 0 insertions, 0 deletions