Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Berg <johannes@...>
Cc: <paulmck@...>, Herbert Xu <herbert@...>, <satyam@...>, <flo@...>, <linux-kernel@...>, <netdev@...>, <linux-wireless@...>, <michal.k.k.piotrowski@...>, <ipw3945-devel@...>, <yi.zhu@...>, <flamingice@...>
Date: Friday, September 7, 2007 - 12:01 pm

On Friday 07 September 2007, Johannes Berg wrote:

What's the problem with trying to lock it?
In the paths where you insert this assertion, you will be locked.
So the trylock will fail and not cause any blocking or something else.
It's basically not more expensive than your mutex_locked test.
And the !mutex_locked test might not work on UP (Not sure, about
the current implementation.)
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
BUG: scheduling while atomic: ifconfig/0x00000002/4170, Florian Lohoff, (Sun Sep 2, 2:44 pm)
Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170, Michal Piotrowski, (Sun Sep 2, 7:59 pm)
Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170, Paul E. McKenney, (Thu Sep 6, 11:46 am)
Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170, Michael Buesch, (Fri Sep 7, 12:01 pm)
Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170, Paul E. McKenney, (Fri Sep 7, 10:25 am)
[RFC] mac80211: fix virtual interface locking, Johannes Berg, (Fri Sep 7, 10:38 am)