mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org,
	 Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: Re: [PATCH] spi: mvebu: move timekeeping out of hot path
Date: Fri, 12 Sep 2025 09:44:14 +0200	[thread overview]
Message-ID: <175766305411.1757044.14258182261681475716.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20250910-v2025-08-0-topic-mvebu-spi-v1-1-c3e57dbb7503@pengutronix.de>


On Wed, 10 Sep 2025 07:42:25 +0200, Steffen Trumtrar wrote:
> The wait_on_timeout uses get_time_ns for timekeeping. It seems that this
> considerably decreases transfer speeds, because the wait_on_timeout loop
> gets throttled by the timekeeping.
> Moving the timekeeping after the hot path results in ~3x transfer speed.
> Keep the wait_on_timeout after the hot path to be sure, that the code
> nevertheless waits long enough once.
> 
> [...]

Applied, thanks!

[1/1] spi: mvebu: move timekeeping out of hot path
      https://git.pengutronix.de/cgit/barebox/commit/?id=4ac86ef4ef1e (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      reply	other threads:[~2025-09-12  7:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-10  5:42 Steffen Trumtrar
2025-09-12  7:44 ` Sascha Hauer [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=175766305411.1757044.14258182261681475716.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.trumtrar@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox