All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: Felix Fietkau <nbd@nbd.name>, linux-wireless@vger.kernel.org
Cc: johannes@sipsolutions.net
Subject: Re: [PATCH] mac80211: use coarse boottime for airtime fairness code
Date: Fri, 17 Dec 2021 13:22:53 +0100	[thread overview]
Message-ID: <87y24jbeua.fsf@toke.dk> (raw)
In-Reply-To: <20211217114258.14619-1-nbd@nbd.name>

Felix Fietkau <nbd@nbd.name> writes:

> 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>

Makes sense for the activity detection stuff!

Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>


      reply	other threads:[~2021-12-17 12:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 11:42 [PATCH] mac80211: use coarse boottime for airtime fairness code Felix Fietkau
2021-12-17 12:22 ` Toke Høiland-Jørgensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y24jbeua.fsf@toke.dk \
    --to=toke@redhat.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=nbd@nbd.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.