• T
    sched: refactor try_to_wake_up() · 9ed3811a
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Acked-by: NPeter Zijlstra <peterz@infradead.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Ingo Molnar <mingo@elte.hu>
    9ed3811a
sched.c 214.8 KB