mac80211: optimise station flags
The flaglock in struct sta_info has long been something that I wanted to get rid of, this finally does the conversion to atomic bitops. The conversion itself is straight-forward in most places, a few things needed to change a bit since we can no longer use multiple bits at the same time. On x86-64, this is a fairly significant code size reduction: text data bss dec hex 427861 23648 1008 452517 6e7a5 before 425383 23648 976 450007 6ddd7 after Signed-off-by:Johannes Berg <johannes.berg@intel.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- net/mac80211/agg-rx.c 1 addition, 1 deletionnet/mac80211/agg-rx.c
- net/mac80211/agg-tx.c 1 addition, 1 deletionnet/mac80211/agg-tx.c
- net/mac80211/cfg.c 24 additions, 20 deletionsnet/mac80211/cfg.c
- net/mac80211/debugfs_sta.c 10 additions, 10 deletionsnet/mac80211/debugfs_sta.c
- net/mac80211/ht.c 1 addition, 1 deletionnet/mac80211/ht.c
- net/mac80211/ibss.c 2 additions, 2 deletionsnet/mac80211/ibss.c
- net/mac80211/iface.c 2 additions, 2 deletionsnet/mac80211/iface.c
- net/mac80211/key.c 2 additions, 2 deletionsnet/mac80211/key.c
- net/mac80211/mesh_plink.c 5 additions, 3 deletionsnet/mac80211/mesh_plink.c
- net/mac80211/mlme.c 10 additions, 12 deletionsnet/mac80211/mlme.c
- net/mac80211/pm.c 1 addition, 1 deletionnet/mac80211/pm.c
- net/mac80211/rx.c 14 additions, 14 deletionsnet/mac80211/rx.c
- net/mac80211/sta_info.c 19 additions, 16 deletionsnet/mac80211/sta_info.c
- net/mac80211/sta_info.h 34 additions, 70 deletionsnet/mac80211/sta_info.h
- net/mac80211/status.c 6 additions, 6 deletionsnet/mac80211/status.c
- net/mac80211/tx.c 38 additions, 30 deletionsnet/mac80211/tx.c
- net/mac80211/util.c 1 addition, 1 deletionnet/mac80211/util.c
- net/mac80211/wme.c 2 additions, 2 deletionsnet/mac80211/wme.c
Loading
Please register or sign in to comment