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

From: Ingo Molnar
Date: Tue Mar 16 2010 - 04:59:53 EST



* Lai Jiangshan <laijs@xxxxxxxxxxxxxx> wrote:

> 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@xxxxxxxx>
> > Reported-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
>
> Acked-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>

Applied, thanks!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/