]> git.karo-electronics.de Git - linux-beck.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)
commitac100ce52a2d3b6261a06939d22e4382d9aa0bb2
treeb61743db78d5d934803b70e73ce73a8eb035eded
parent981d94a80174e4f33bd5015fb49051bfc2eb00d2
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