Re: [GIT PULL] CRC updates for 6.14

From: Eric Biggers
Date: Thu Jan 23 2025 - 16:22:24 EST


On Thu, Jan 23, 2025 at 01:16:57PM -0800, Linus Torvalds wrote:
> On Thu, 23 Jan 2025 at 13:13, Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
> >
> > x86 unfortunately only has an instruction for crc32c
>
> Yeah, but isn't that like 90% of the uses?
>
> IOW, if you'd make the "select" statements a bit more specific, and
> make ext4 (and others) do "select CRC32C" instead, the other ones
> wouldn't even get selected?
>
> Linus

There's quite a lot unfortunately. Try this which finds the regular crc32 (not
crc32c):

git grep -E '\<(crc32|crc32_le|__crc32_le)\(|"crc32"'

- Eric