]> 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)
commit6a9cf86a1002b9cb9092d25e95dde9abe1ee13ad
treedffe8a8325b9bcf306b7b5f77b09dc4a4f6cb606
parent3cbf696caadc092a592c17bb1295f3c0ca4bbf0f
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