]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: duplicate station's MAC address for hash table
authorJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jun 2015 14:22:12 +0000 (16:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:38:03 +0000 (15:38 +0200)
commitd3e76b30289bac3af21f3d270acd62189d33dac6
treeb61743db78d5d934803b70e73ce73a8eb035eded
parent2e3cef2a044515f136e5d8a0387c4f3dda82e68c
mac80211: duplicate station's MAC address for hash table

Currently, the station hash table lookup (or iteration) must
access two cachelines for each station - the one with the hash
table node, and the one with the MAC address.

Duplicate the MAC address next to the hash node to get rid of
this. Since the MAC address is static there's no consistency
problem introduced by this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c
net/mac80211/sta_info.h