]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: Converge TINY_RCU expedited and normal boosting
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 25 Feb 2011 03:26:21 +0000 (19:26 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 May 2011 06:16:58 +0000 (23:16 -0700)
commit7e8b4c72344e0d904b0e3fa9fd2eb116f04b3d41
tree29107484a66472f20fb9f8c40590aece0a5469c2
parent203373c81b83e98da82836c4b8b5dd1e6fc9011f
rcu: Converge TINY_RCU expedited and normal boosting

This applies a trick from TREE_RCU boosting to TINY_RCU, eliminating
code and adding comments.  The key point is that it is possible for
the booster thread itself to work out whether there is a normal or
expedited boost required based solely on local information.  There
is therefore no need for boost initiation to know or care what type
of boosting is required.  In addition, when boosting is complete for
a given grace period, then by definition there cannot be any more
boosting for that grace period.  This allows eliminating yet more
state and statistics.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutiny_plugin.h