[PATCH] rcu: don't set ->next_pending in rcu_start_batch()
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 8 Jan 2006 19:19:33 +0000 (22:19 +0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 01:01:39 +0000 (17:01 -0800)
I think it is better to set ->next_pending in the caller, when
it is needed. This saves one parameter, and this coincides with
cpu_quiet() beahaviour, which sets ->completed = ->cur itself.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found