diff options
author | 2025-01-29 19:51:24 -0800 | |
---|---|---|
committer | 2025-02-08 20:06:28 -0800 | |
commit | 067bc8717aeee415d6a6294e63b70821846c45c3 (patch) | |
tree | 2a1f7676444d93fba2ebad6b090f5ddf5cf769d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lib/crc_kunit.c: add test and benchmark for CRC64-NVME (diff) | |
download | linux-rng-067bc8717aeee415d6a6294e63b70821846c45c3.tar.xz linux-rng-067bc8717aeee415d6a6294e63b70821846c45c3.zip |
lib/crc64: add support for arch-optimized implementations
Add support for architecture-optimized implementations of the CRC64
library functions, following the approach taken for the CRC32 and
CRC-T10DIF library functions.
Also take the opportunity to tweak the function prototypes:
- Use 'const void *' for the lib entry points (since this is easier for
users) but 'const u8 *' for the underlying arch and generic functions
(since this is easier for the implementations of these functions).
- Don't bother with __pure. It's an unusual optimization that doesn't
help properly written code. It's a weird quirk we can do without.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Acked-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20250130035130.180676-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions