rcu: Update cpu_needs_another_gp() for futures from non-NOCB CPUs
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 10 Mar 2014 17:55:52 +0000 (10:55 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 29 Apr 2014 15:43:32 +0000 (08:43 -0700)
commit365187fbc04fd55766bf6a94e37e558505bf480a
tree6249491e31d2c9e6e1fdb62048694b28f0974d97
parent83ebe63ead0fe60e4b548730800cb68293ce098b
rcu: Update cpu_needs_another_gp() for futures from non-NOCB CPUs

In the old days, the only source of requests for future grace periods
was NOCB CPUs.  This has changed: CPUs routinely post requests for
future grace periods in order to promote power efficiency and reduce
OS jitter with minimal impact on grace-period latency.  This commit
therefore updates cpu_needs_another_gp() to invoke rcu_future_needs_gp()
instead of rcu_nocb_needs_gp().  The latter is no longer used, so is
now removed.  This commit also adds tracing for the irq_work_queue()
wakeup case.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcu/tree.c
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h