• P
    rcu: Switch synchronize_sched_expedited() to IPI · 6587a23b
    Paul E. McKenney 提交于
    This commit switches synchronize_sched_expedited() from stop_one_cpu_nowait()
    to smp_call_function_single(), thus moving from an IPI and a pair of
    context switches to an IPI and a single pass through the scheduler.
    Of course, if the scheduler actually does decide to switch to a different
    task, there will still be a pair of context switches, but there would
    likely have been a pair of context switches anyway, just a bit later.
    Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    6587a23b
tree.c 140.0 KB