]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: optimise AP stop RCU handling
authorJohannes Berg <johannes.berg@intel.com>
Fri, 14 Dec 2012 13:56:03 +0000 (14:56 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:31 +0000 (13:01 +0100)
commitfa3c65d0d024f27dcd0c979e72bd4030fe8f94d8
treefdc5609f042781ce035e5e88272809db81f5493c
parentced4e4559e2a53fc27251bba96c3d291af9d2189
mac80211: optimise AP stop RCU handling

If there are VLANs, stopping an AP is inefficient as it
calls rcu_barrier() once for each interface (the VLANs
and the AP itself). Optimise this by moving rcu_barrier()
out of the station cleanups and calling it only once for
all interfaces combined.

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