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

From: Arjan van de Ven
Date: Tue May 30 2006 - 12:04:54 EST


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)) {


-
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/