]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite45cdc61622d2b40f53f7176b130852eded81da6
tree1e380afb42aa091d2acce50cd2cc10e368d1026a
parenteb538af5d313925627b38f997772e77392c974d9
[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