diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-18 21:58:06 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-09 20:09:36 (GMT) |
commit | 12d3952fc4a1cd96234bc7023bf7eefeb0bb6355 (patch) | |
tree | 5c3437e1f996a5c772b286530a3fce547a7d40f2 /net/dcb | |
parent | fcb2c9e1025cd529890303ffbde813a98cdffed4 (diff) | |
download | linux-fsl-qoriq-12d3952fc4a1cd96234bc7023bf7eefeb0bb6355.tar.xz |
mac80211: optimize aggregation session timeout handling
Calling mod_timer from the rx/tx hotpath is somewhat expensive, and the
timeout doesn't need to be so precise.
Switch to a different strategy: Schedule the timer initially, store jiffies
of all last rx/tx activity which would previously modify the timer, and
let the timer re-arm itself after checking the last rx/tx timestamp.
Make the session timers deferrable to avoid causing extra wakeups on systems
running on battery.
This visibly reduces CPU load under high network load on small embedded
systems.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions