[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)
commitdbc1651f0c5b7d13acc59d3b805a7224332fb1fb
tree1e380afb42aa091d2acce50cd2cc10e368d1026a
parent1fd5a46dd6bbca3a1275465120caf4748872c2a7
[PATCH] rcu: don't set ->next_pending in rcu_start_batch()

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>
kernel/rcupdate.c