Commit d1668b85 authored by Felix Fietkau's avatar Felix Fietkau Committed by chrome-bot
Browse files

UPSTREAM: 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: default avatarFelix Fietkau <nbd@nbd.name>
Acked-by: default avatarToke Hiland-Jrgensen <toke@redhat.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

BUG=b:131197056
TEST=Wifi stress and latency under load test
(cherry picked from commit 5b989c18)

Signed-off-by: default avatarKan Yan <kyan@google.com>
Change-Id: If9695edb86f92cb6f629f58e5ce87f6a20c5deff
Reviewed-on: https://chromium-review.googlesource.com/1636902


Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: default avatarJulan Hsu <julanhsu@google.com>
Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Reviewed-by: default avatarKan Yan <kyan@chromium.org>
parent e9f45722
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment