summaryrefslogtreecommitdiffstats
path: root/kernel/audit_watch.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-04-05 17:23:42 +0200
committerIngo Molnar <mingo@elte.hu>2011-04-14 08:52:34 +0200
commit893633817f5b58f5227365d74344e0170a718213 (patch)
tree32270e47d1c60b2a60a3318cc9e1113f05963c3d /kernel/audit_watch.c
parentsched: Move wq_worker_waking to the correct site (diff)
downloadlinux-893633817f5b58f5227365d74344e0170a718213.tar.xz
linux-893633817f5b58f5227365d74344e0170a718213.zip
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 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions