]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: rework locking for txq scheduling / airtime fairness
authorFelix Fietkau <nbd@nbd.name>
Fri, 15 Mar 2019 10:03:35 +0000 (11:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Mar 2019 10:27:44 +0000 (11:27 +0100)
commit109e851094fa0f543d8e325c6c8e89a7d4b7bd30
treedffe8a8325b9bcf306b7b5f77b09dc4a4f6cb606
parentd2ac4c4a391a8ecef6422b551d6191d20c40bee7
mac80211: rework locking for txq scheduling / airtime fairness

Holding the lock around the entire duration of tx scheduling can create
some nasty lock contention, especially when processing airtime information
from the tx status or the rx path.
Improve locking by only holding the active_txq_lock for lookups / scheduling
list modifications.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/tx.c