summaryrefslogtreecommitdiff
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-12-17 12:42:58 +0100
committerJohannes Berg <johannes.berg@intel.com>2021-12-20 10:24:41 +0100
commit6a789ba679d652587532cec2a0e0274fda172f3b (patch)
tree01b41505b220e6458c7b3a6eda358cfb2d35f687 /net/mac80211/rx.c
parent75c5bd68b699bbcb6d25879644d62de4da14ab92 (diff)
downloadlinux-6a789ba679d652587532cec2a0e0274fda172f3b.tar.gz
linux-6a789ba679d652587532cec2a0e0274fda172f3b.tar.bz2
linux-6a789ba679d652587532cec2a0e0274fda172f3b.zip
mac80211: use coarse boottime for airtime fairness code
The time values used by the airtime fairness code only need to be accurate enough to cover station activity detection. Using ktime_get_coarse_boottime_ns instead of ktime_get_boottime_ns will drop the accuracy down to jiffies intervals, but at the same time saves a lot of CPU cycles in a hot path Signed-off-by: Felix Fietkau <nbd@nbd.name> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/r/20211217114258.14619-1-nbd@nbd.name Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rx.c')
0 files changed, 0 insertions, 0 deletions