[PATCH 3/8] rcu: keep irqs disabled in rcu_read_unlock_special()

2013-08-07 Thread Lai Jiangshan
rcu_read_unlock_special() may enable irqs temporarily before it finish its last work. It doesn't introduce any extremely bad things. but it does add more task rcu machine states and add more complexity, bad to review. And if the task is preempted when it enables irqs, the

[PATCH 3/8] rcu: keep irqs disabled in rcu_read_unlock_special()

2013-08-07 Thread Lai Jiangshan
rcu_read_unlock_special() may enable irqs temporarily before it finish its last work. It doesn't introduce any extremely bad things. but it does add more task rcu machine states and add more complexity, bad to review. And if the task is preempted when it enables irqs, the