Search Linux Wireless

Re: [PATCH 1/1] mac80211: A-MPDU MLME use dynamic allocation

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

 



> This patch alters the A-MPDU MLME in sta_info to use dynamic allocation,
> thus drastically improving memory usage - from a constant ~2 Kbyte in
> the previous (static) allocation to a lower limit of ~200 Byte and an upper
> limit of ~2 Kbyte.

Cool. This will definitely clash with the locking rework and struct
reordering I did, but I can redo those after comments and after this
patch.

>  	spin_lock_bh(&sta->ampdu_mlme.ampdu_tx);
> -	state = sta->ampdu_mlme.tid_tx[tid].state;
> +	state = sta->ampdu_mlme.tid_state_tx[tid];
>  	spin_unlock_bh(&sta->ampdu_mlme.ampdu_tx);

In fact, I forgot those locks anyway so the patch I posted won't work.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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