All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] crypto: xor - defer and optimize boot time benchmark
@ 2020-09-26 10:26 Ard Biesheuvel
  2020-09-26 10:26 ` [PATCH v2 1/2] crypto: xor - defer load time benchmark to a later time Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ard Biesheuvel @ 2020-09-26 10:26 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.

Changes since v2:
- incorporate Doug's review feedback re coarse clocks and the use of pr_info
- add Doug's ack to #1

[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 | 67 +++++++++++++-------
 1 file changed, 44 insertions(+), 23 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2020-10-02 11:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-26 10:26 [PATCH v2 0/2] crypto: xor - defer and optimize boot time benchmark Ard Biesheuvel
2020-09-26 10:26 ` [PATCH v2 1/2] crypto: xor - defer load time benchmark to a later time Ard Biesheuvel
2020-09-26 10:26 ` [PATCH v2 2/2] crypto: xor - use ktime for template benchmarking Ard Biesheuvel
2020-09-28 23:47   ` Doug Anderson
2020-10-02 11:55 ` [PATCH v2 0/2] crypto: xor - defer and optimize boot time benchmark Herbert Xu

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.