Re: [RFC][PATCH 3/5] sched: Change the ttwu success details

From: Frank Rowand
Date: Fri Dec 17 2010 - 20:06:16 EST


On 12/16/10 06:56, Peter Zijlstra wrote:
> 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 tracepoint, so
> remove its success argument.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>

Looks good to me, so far. But I still I have a few more places that call
try_to_wake_up() to validate.

Acked-by: Frank Rowand <frank.rowand@xxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/