Search Linux Wireless

Re: [RFC] mac80211: Prevent possible BUG on suspend.

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

 



On Mon, Dec 12, 2011 at 10:52 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Mon, 2011-12-12 at 10:22 +0100, Dmitry Tarnyagin wrote:
>> On Mon, Dec 12, 2011 at 10:02 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
>> > On Mon, 2011-12-12 at 00:38 +0100, Dmitry Tarnyagin wrote:

>> ... or abort suspend on the driver's level. It's perfectly ok for me. But then
>> driver needs to be at least notified that WLAN is suspending. What do you
>> think about early-suspend driver callback which to be called before any
>> possibly locking operations in mac80211 code?
>
> That's seems reasonable.
>
Ok, I will play with it a bit...

> Well whenever it would have to wait for the mutex, even if it just has
> to wait 1ms for it... That will *certainly* trigger *randomly* on normal
> laptops systems and cause a TON of bug reports from users saying "my
> system randomly refuses to suspend".
>
Oh, yes, true..
--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux