From: Peter Zijlstra Date: Tue, 5 Apr 2011 15:23:42 +0000 (+0200) Subject: sched: Change the ttwu() success details X-Git-Tag: v3.0-rc1~357^2~2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=893633817f5b58f5227365d74344e0170a718213;p=pandora-kernel.git 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 Cc: Mike Galbraith Cc: Nick Piggin Cc: Linus Torvalds Cc: Andrew Morton Signed-off-by: Ingo Molnar Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20110405152728.866866929@chello.nl --- Reading git-diff-tree failed