Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes: >> >>> We can just remove the lock and add a comment explaining why it is not locked... > > Mind you, it won't work on SDIO hardware since the callback cannot > sleep, contrary to what Kalle documented :( Oh, sorry about that. Back then I tried to be careful and I checked the context few calls up. But I didn't check far enough and realise that all RX code is inside rcu critical section. I'll send a patch to fix this shortly. > Why is it not giving everybody warnings in might_sleep()? Very good question. We should get warnings from both iwlwifi and b43, but I have no idea why we haven't heard anything. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html