raid: remove obsolete MMX optimized code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xor: remove obsolete MMX optimized codelib/ lib/ lib/ | +1 | 0 replies | |
| 2/3 | raid6: remove obsolete MMX optimized codelib/ lib/ lib/ +1 more | +0 | 0 replies | |
| 3/3 | raid6: simplify CPU feature checkslib/ | +11 | 2 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christoph Hellwig |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] raid: remove obsolete MMX optimized code
This series retires 32-bit MMX optimizations for RAID.
Affected CPUs, such as the Pentium MMX and Pentium II, will just fall back to the existing well-tested scalar code instead.
This was the only remaining MMX optimized code in the kernel. MMX optimizations for the much more commonly called functions memcpy(), copy_page(), and clear_page() were already removed years ago by commit c6dbd3e5e69c ("x86/mmx_32: Remove X86_USE_3DNOW"). There are zero MMX optimizations for anything else, like crypto or CRC, which left the RAID code as an outlier.
Patch 3 also cleans up the CPU feature checks in the RAID6 code.
Eric Biggers (3):
xor: remove MMX optimized code
raid6: remove MMX optimized code
raid6: simplify CPU feature checks
lib/raid/raid6/Makefile | 4 - lib/raid/raid6/x86/mmx.c | 118 -------- lib/raid/raid6/x86/pq_arch.h | 69 +---- lib/raid/raid6/x86/sse1.c | 136 --------- lib/raid/xor/Makefile | 2 +- lib/raid/xor/x86/xor-mmx.c | 515 ----------------------------------- lib/raid/xor/x86/xor_arch.h | 5 - 7 files changed, 12 insertions(+), 837 deletions(-) delete mode 100644 lib/raid/raid6/x86/mmx.c delete mode 100644 lib/raid/raid6/x86/sse1.c delete mode 100644 lib/raid/xor/x86/xor-mmx.c
base-commit: 21a7f44fd0765fcc5194130b28767786eba1d1e7
Signature · 1 line
2.56.0