Thread (1 message) 1 message, 1 author, 2025-06-09

Re: [PATCH v2 00/12] lib/crc: improve how arch-optimized code is integrated

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2025-06-09 19:16:24
Also in: linux-arch, linux-arm-kernel, linux-crypto, linux-mips, linux-riscv, linux-s390, lkml, loongarch, sparclinux

Eric,
This series improves how lib/crc supports arch-optimized code. First,
instead of the arch-optimized CRC code being in arch/$(SRCARCH)/lib/,
it will now be in lib/crc/$(SRCARCH)/. Second, the API functions (e.g.
crc32c()), arch-optimized functions (e.g. crc32c_arch()), and generic
functions (e.g. crc32c_base()) will now be part of a single module for
each CRC type, allowing better inlining and dead code elimination. The
second change is made possible by the first.
Looks good to me!

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>

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