Re: [PATCH 09/25] xor: move generic implementations out of asm-generic/xor.h
Christoph Hellwig <[email protected]>
| Newsgroups | gmane.linux.ports.ppc.embedded,gmane.linux.ports.alpha,gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.ports.riscv,gmane.linux.ports.sparc,gmane.linux.uml.devel,gmane.linux.kernel.cryptoapi,gmane.comp.file-systems.btrfs,gmane.linux.kernel.cross-arch,gmane.linux.raid |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Mar 03, 2026 at 05:09:11PM +0100, Christoph Hellwig wrote: > And earlier version did this, but it's a bit ugly. What I might > consider is to require architectures that provide optimized version > to opt into any generic one they want to use. This would require > extra kconfig symbols, but be a lot cleaner overall. I looked into this, but because the static_call requires a default version I gave up on it for now. In theory we could build just a single generic one for that and make the others optional, but that feels a bit odd.