Re: [PATCH tip/core/rcu] rcu: make rcu_read_lock_bh_held() allow for disabled BH

Lai Jiangshan
2010-03-16T06:18:58Z

Paul E. McKenney wrote:
> Disabling BH can stand in for rcu_read_lock_bh(), and this patch updates
> rcu_read_lock_bh_held() to allow for this. In order to avoid include-file
> hell, this function is moved out of line to kernel/rcupdate.c.
>
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

Acked-by: Lai Jiangshan <laijs@cn.fujitsu.com>