commit | dd9daa221e77f642954849a795fa7c59533a9b2f | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Tue Sep 12 20:35:55 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Sep 13 07:32:14 2006 -0700 |
tree | 6b207a5296063e1a773f36fb724402ea7cbab7eb | |
parent | 7fbb36451a91de6e8f9ece4f1f1ee9bd8ebf838a [diff] |
[PATCH] rcu_do_batch: make ->qlen decrement irq safe rcu_do_batch() decrements rdp->qlen with irqs enabled. This is not good, it can also be modified by call_rcu() from interrupt. Decrement ->qlen once with irqs disabled, after a main loop. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Dipankar Sarma <dipankar@in.ibm.com> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>