Search Linux Wireless

Re: What should wireless drivers do under -ENOMEM

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

 



On Friday 21 November 2008 19:55:12 Luis R. Rodriguez wrote:
> Under heavy stress you can sometimes run into -ENOMEM and you inform
> the callers. Now ath5k/ath9k both require dev_alloc_skb()'ing some
> buffers when RXing. Right now we simply move on, but I think it'd be
> nicer to inform mac80211 and let mac80211 decide. If the system is


Well, what should mac80211 decide?
If you are under such heavy load that memory allocations fail, we really have
only one chance. That is drop the network traffic until memory allocation
works again.
I don't see anything else we can do.


-- 
Greetings Michael.
--
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