Re: [patch, -rc5-mm1] lock validator: remove softirq.c WARN_ON

Arjan van de Ven
2006-05-30T16:05:49Z

On Tue, 2006-05-30 at 20:00 +0400, Alexey Kuznetsov wrote:
> Hello!
>
> > ok, that WARN_ON is over-eager. Fix is below:
>
> Nevertheless, I cannot figure out what's happening here.
>
> This local_bh_disable() is called right after schedule().
> No way irqs can be disabled there. What is wrong?
>
>
> static void netlink_table_grab(void)
> {
> write_lock_bh(&nl_table_lock);

well it could be this one as well...

>
> if (atomic_read(&nl_table_users)) {