Re: [patch] lockdep, annotate slocks: turn lockdep off for them

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 01, 2006 at 07:06:22AM -0700, Miles Lane wrote:
>
> >@@ -3260,6 +3268,8 @@ while (0)
> >        SET_NETDEV_DEV(dev, sdev);
> >        if (ret >= 0)
> >                ret = register_netdevice(dev);
> >+
> >+       lockdep_set_class(&dev->_xmit_lock, &hostap_netdev_xmit_lock_key);
> >        rtnl_unlock();
> >        if (ret < 0) {
> >                printk(KERN_WARNING "%s: register netdevice failed!\n",
> 
> After rebuilding with this patch, I still get the lockdep message.
> Everything is the same except now the "other info" section reads:

Perhaps the same trick needs to be applied to the queue lock?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux