diff options
author | Tejun Heo <tj@kernel.org> | 2009-12-03 15:08:03 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-06-08 21:40:36 +0200 |
commit | 9ed3811a6c0d6b66e6cd47a5d7b9136386dce743 (patch) | |
tree | 6a1e92b3e51978c7e32f1afdf98b1966a3d65818 /kernel/fork.c | |
parent | 3a101d0548e925ab16ca6aaa8cf4f767d322ddb0 (diff) | |
download | lwn-9ed3811a6c0d6b66e6cd47a5d7b9136386dce743.tar.gz lwn-9ed3811a6c0d6b66e6cd47a5d7b9136386dce743.zip |
sched: refactor try_to_wake_up()
Factor ttwu_activate() and ttwu_woken_up() out of try_to_wake_up().
The factoring out doesn't affect try_to_wake_up() much
code-generation-wise. Depending on configuration options, it ends up
generating the same object code as before or slightly different one
due to different register assignment.
This is to help future implementation of try_to_wake_up_local().
Mike Galbraith suggested rename to ttwu_post_activation() from
ttwu_woken_up() and comment update in try_to_wake_up().
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions