Search Linux Wireless

Re: mac80211: STA info size

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

 



On Fri, Feb 22, 2008 at 11:15:07AM +0100, Johannes Berg wrote:

> I was just reorganising struct sta_info to clarify the locking (will
> send another mail about that) and noticed that due to the HT stuff, each
> STA info struct currently (after my reorg) takes 2432 bytes. Almost 2000
> of those are in struct sta_ampdu_mlme which is most likely not used for
> most STAs.
> 
> Do you think that is too much memory per station? It'd probably be
> possible to allocate the sta_ampdu_mlme dynamically when needed, no?

My count was closer to 1.5k, but I may have missed something.
Either way, that seems a little big to me.  A dynamic allocation
strategy seems appropriate to me.  Anyone disagree?

John
-- 
John W. Linville
linville@xxxxxxxxxxxxx
-
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