linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: xor - defer and optimize boot time benchmark
@ 2020-09-23 18:22 Ard Biesheuvel
  2020-09-23 18:22 ` [PATCH 1/2] crypto: xor - defer load time benchmark to a later time Ard Biesheuvel
  2020-09-23 18:22 ` [PATCH 2/2] crypto: xor - use ktime for template benchmarking Ard Biesheuvel
  0 siblings, 2 replies; 11+ messages in thread
From: Ard Biesheuvel @ 2020-09-23 18:22 UTC (permalink / raw)
  To: linux-crypto; +Cc: herbert, Ard Biesheuvel, Douglas Anderson, David Laight

Doug reports [0] that the XOR boot time benchmark takes more time than
necessary, and runs at a time when there is little room for other
boot time tasks to run concurrently.

Let's fix this by #1 deferring the benchmark, and #2 uses a faster
implementation.

[0] https://lore.kernel.org/linux-arm-kernel/20200921172603.1.Id9450c1d3deef17718bd5368580a3c44895209ee@changeid/

Cc: Douglas Anderson <dianders@chromium.org>
Cc: David Laight <David.Laight@aculab.com>

Ard Biesheuvel (2):
  crypto: xor - defer load time benchmark to a later time
  crypto: xor - use ktime for template benchmarking

 crypto/xor.c | 65 +++++++++++++-------
 1 file changed, 43 insertions(+), 22 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-09-24 18:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-23 18:22 [PATCH 0/2] crypto: xor - defer and optimize boot time benchmark Ard Biesheuvel
2020-09-23 18:22 ` [PATCH 1/2] crypto: xor - defer load time benchmark to a later time Ard Biesheuvel
2020-09-24  0:38   ` Doug Anderson
2020-09-23 18:22 ` [PATCH 2/2] crypto: xor - use ktime for template benchmarking Ard Biesheuvel
2020-09-24  0:36   ` Doug Anderson
2020-09-24  8:31     ` Ard Biesheuvel
2020-09-24 15:28       ` Doug Anderson
2020-09-24 15:36         ` Ard Biesheuvel
2020-09-24 18:22           ` Doug Anderson
2020-09-24 18:40             ` Ard Biesheuvel
2020-09-24 18:52               ` Doug Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).