[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071214214418.0ecd5e67.akpm@linux-foundation.org>
Date: Fri, 14 Dec 2007 21:44:18 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [patch 2/4] net: use mutex_is_locked() for ASSERT_RTNL()
On Sat, 15 Dec 2007 12:18:27 +0800 Herbert Xu <herbert@...dor.apana.org.au> wrote:
> On Fri, Dec 14, 2007 at 03:11:36PM -0800, Andrew Morton wrote:
> >
> > I don't believe that ASSERT_RTNL() presently warns when called from atomic
> > contexts. If it does then I missed it.
>
> It does when mutex debugging is enabled.
>
That sounds like a bug in mutex_trylock() to me.
Where in the tangled forest of the mutex implementation is the code
which does this?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists