Re: mac80211: sta info locking
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2008-02-22 15:17:25
Attachments
- signature.asc [application/pgp-signature] 828 bytes
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2008-02-22 15:17:25
quoted
Hence, I think we can actually get away without more locking if we protect the flags better. Should we use a spinlock or the atomic set_bit()/clear_bit()/etc. operations?Using the atomic operations seems appropriate to me.
Right, but I figured if we could get rid of the AMPDU spinlocks and just use a single one in total (for flags as well) then that'd be of benefit too; even with the dynamic allocation strategy (see other mail) we'd not need to allocate two more spinlocks for ampdu. johannes