diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-08-07 02:50:39 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-10-08 02:01:12 +0300 |
commit | 6587a23b6b9bdb47205ec96c703e5bf8a2d39701 (patch) | |
tree | c5ac61d861ea8b1b6e3c4708c1db2f1f551f9b1a /include/asm-generic/sections.h | |
parent | 5b74c458906fc4a62f932ee8bb801d29baf15fec (diff) | |
download | linux-6587a23b6b9bdb47205ec96c703e5bf8a2d39701.tar.xz |
rcu: Switch synchronize_sched_expedited() to IPI
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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/asm-generic/sections.h')
0 files changed, 0 insertions, 0 deletions