From: Eric Biggers <ebiggers@kernel.org>
To: linux-raid@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Cc: linux-crypto@vger.kernel.org, x86@kernel.org,
linux-kernel@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
Eric Biggers <ebiggers@kernel.org>
Subject: [PATCH 0/3] raid: remove obsolete MMX optimized code
Date: Sun, 25 Oct 2026 12:12:04 -0700 [thread overview]
Message-ID: <20261025191207.86590-1-ebiggers@kernel.org> (raw)
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
--
2.56.0
next reply other threads:[~2026-10-25 19:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-25 19:12 Eric Biggers [this message]
2026-10-25 19:12 ` [PATCH 1/3] xor: " Eric Biggers
2026-10-25 19:12 ` [PATCH 2/3] raid6: " Eric Biggers
2026-10-25 19:12 ` [PATCH 3/3] raid6: simplify CPU feature checks Eric Biggers
2026-10-26 14:57 ` David Laight
2026-10-26 18:47 ` Eric Biggers
2026-10-26 15:00 ` [PATCH 0/3] raid: remove obsolete MMX optimized code David Laight
2026-10-27 15:07 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261025191207.86590-1-ebiggers@kernel.org \
--to=ebiggers@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=hch@lst.de \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®