Rcu: Rewrote the algorithm to fix a race condition.