]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: fine-tune grace-period begin/end checks
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 10 Dec 2010 23:02:47 +0000 (15:02 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 17 Dec 2010 20:34:20 +0000 (12:34 -0800)
commit121dfc4b3eba9e2f3c42d35205a3510cc65b9931
treebd132a839cf3618f1d7602efbb1e144a8e04cec4
parent5ff8e6f0535fe730e921ca347bc38dcb9e01791a
rcu: fine-tune grace-period begin/end checks

Use the CPU's bit in rnp->qsmask to determine whether or not the CPU
should try to report a quiescent state.  Handle overflow in the check
for rdp->gpnum having fallen behind.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c