[PATCH 0/2] riscv: Some misaligned cleanups

Nam Cao namcao at linutronix.de
Thu May 28 14:12:29 PDT 2026


Two minor cleanup which affects performance. The first patch addresses a bug
causing improper initialization of fast_unaligned_access_speed_key, affecting
performance of do_csum(). The second patch remove a redundant access speed
probe in CPU hotplug.

Nam Cao (2):
  riscv: misaligned: Fix fast_unaligned_access_speed_key init
  riscv: traps_misaligned: Avoid redundant unaligned access speed probe

 arch/riscv/kernel/traps_misaligned.c       |  4 +-
 arch/riscv/kernel/unaligned_access_speed.c | 69 +++++++---------------
 2 files changed, 24 insertions(+), 49 deletions(-)

-- 
2.47.3




More information about the linux-riscv mailing list