]> 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)
commitd9a5747d841a84a0fd03d52e5c9d01aa21a72b74
treeb61743db78d5d934803b70e73ce73a8eb035eded
parent20e96a307bb101a9e67763c6c544049e444afc8d
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