]> git.ipfire.org Git - thirdparty/zstd.git/commit
[linux] Opt out of row based match finder for the kernel
authorNick Terrell <terrelln@meta.com>
Tue, 11 Mar 2025 18:53:20 +0000 (11:53 -0700)
committerNick Terrell <nickrterrell@gmail.com>
Tue, 11 Mar 2025 20:18:59 +0000 (16:18 -0400)
commit68dfd14a8c504bbb27013043e1f3466d5318e019
treefd4ac64de4be4955a78dad40328c0fb10b3d486f
parentb27ba56a6df12aa84d053295ed91f7bf022ee0ba
[linux] Opt out of row based match finder for the kernel

The row based match finder is slower without SIMD. We used to detect the
presence of SIMD to set the lower bound to 17, but that breaks
determinism. Instead, specifically opt into it for the kernel, because
it is one of the rare cases that doesn't have SIMD support.
lib/compress/zstd_compress.c