summaryrefslogtreecommitdiff
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-04-05 15:23:42 (GMT)
committerIngo Molnar <mingo@elte.hu>2011-04-14 06:52:34 (GMT)
commit893633817f5b58f5227365d74344e0170a718213 (patch)
tree32270e47d1c60b2a60a3318cc9e1113f05963c3d /block/blk-ioc.c
parentc2f7115e2e52a6c187b8c1f54f0e4970bb677be0 (diff)
downloadlinux-fsl-qoriq-893633817f5b58f5227365d74344e0170a718213.tar.xz
sched: Change the ttwu() success details
try_to_wake_up() would only return a success when it would have to place a task on a rq, change that to every time we change p->state to TASK_RUNNING, because that's the real measure of wakeups. This results in that success is always true for the tracepoints. Reviewed-by: Frank Rowand <frank.rowand@am.sony.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Nick Piggin <npiggin@kernel.dk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20110405152728.866866929@chello.nl
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions