All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/3] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state
@ 2019-05-21 17:21 ` Julien Grall
  0 siblings, 0 replies; 27+ messages in thread
From: Julien Grall @ 2019-05-21 17:21 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, kvmarm
  Cc: catalin.marinas, will.deacon, christoffer.dall, marc.zyngier,
	james.morse, julien.thierry, suzuki.poulose, Dave.Martin,
	ard.biesheuvel, Julien Grall

Hi all,

This patch series keeps softirqs enabled while touching FPSIMD/SVE state.
For more details on the impact see patch #3.

This patch series has been benchmarked on Linux 5.1-rc4 with defconfig.

On Juno2:
    * hackbench 100 process 1000 (10 times)
    * .7% quicker

On ThunderX 2:
    * hackbench 1000 process 1000 (20 times)
    * 3.4% quicker

Note that while the benchmark has been done on 5.1-rc4, the patch series is
based on 5.2-rc1.

Cheers,

Julien Grall (3):
  arm64/fpsimd: Remove the prototype for sve_flush_cpu_state()
  arch/arm64: fpsimd: Introduce fpsimd_save_and_flush_cpu_state() and
    use it
  arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state

 arch/arm64/include/asm/fpsimd.h |   5 +-
 arch/arm64/include/asm/simd.h   |  10 +--
 arch/arm64/kernel/fpsimd.c      | 139 +++++++++++++++++++++++++++-------------
 arch/arm64/kvm/fpsimd.c         |   4 +-
 4 files changed, 103 insertions(+), 55 deletions(-)

-- 
2.11.0


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

end of thread, other threads:[~2019-06-04 11:52 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 17:21 [PATCH v5 0/3] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state Julien Grall
2019-05-21 17:21 ` Julien Grall
2019-05-21 17:21 ` Julien Grall
2019-05-21 17:21 ` [PATCH v5 1/3] arm64/fpsimd: Remove the prototype for sve_flush_cpu_state() Julien Grall
2019-05-21 17:21   ` Julien Grall
2019-05-21 17:21   ` Julien Grall
2019-05-21 17:21 ` [PATCH v5 2/3] arch/arm64: fpsimd: Introduce fpsimd_save_and_flush_cpu_state() and use it Julien Grall
2019-05-21 17:21   ` Julien Grall
2019-05-21 17:21   ` Julien Grall
2019-06-04 11:12   ` Catalin Marinas
2019-06-04 11:12     ` Catalin Marinas
2019-06-04 11:12     ` Catalin Marinas
2019-06-04 11:52     ` Marc Zyngier
2019-06-04 11:52       ` Marc Zyngier
2019-06-04 11:52       ` Marc Zyngier
2019-05-21 17:21 ` [PATCH v5 3/3] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state Julien Grall
2019-05-21 17:21   ` Julien Grall
2019-05-21 17:21   ` Julien Grall
2019-06-03 16:25   ` Catalin Marinas
2019-06-03 16:25     ` Catalin Marinas
2019-06-03 16:25     ` Catalin Marinas
2019-06-03 21:21     ` Catalin Marinas
2019-06-03 21:21       ` Catalin Marinas
2019-06-03 21:21       ` Catalin Marinas
2019-06-04 10:35       ` Julien Grall
2019-06-04 10:35         ` Julien Grall
2019-06-04 10:35         ` Julien Grall

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.