Thread (71 messages) 71 messages, 8 authors, 2026-03-10

Re: [PATCH 18/25] x86: move the XOR code to lib/raid/

From: Peter Zijlstra <peterz@infradead.org>
Date: 2026-02-27 14:30:45
Also in: linux-alpha, linux-arch, linux-btrfs, linux-crypto, linux-raid, linux-riscv, linux-s390, linux-um, lkml, loongarch, sparclinux

On Thu, Feb 26, 2026 at 07:10:30AM -0800, Christoph Hellwig wrote:
Move the optimized XOR code out of line into lib/raid.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/x86/include/asm/xor.h                    | 518 ++----------------
 arch/x86/include/asm/xor_64.h                 |  32 --
 lib/raid/xor/Makefile                         |   8 +
 .../xor_avx.h => lib/raid/xor/x86/xor-avx.c   |  14 +-
 .../xor_32.h => lib/raid/xor/x86/xor-mmx.c    |  60 +-
 lib/raid/xor/x86/xor-sse.c                    | 476 ++++++++++++++++
I gotta ask, why lib/raid/xor/$arch/ instead of something like
arch/$arch/lib/xor ?

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help