Re: [PATCH] lib/lz4: add KUnit tests for compression and decompression

From: Michal Wilczynski

Date: Wed Dec 02 2026 - 05:06:00 EST




On 12/2/26 04:59, S. Biplab Raut wrote:
> Hi Michal,
>
> Hope you're doing well. When you have a chance, could you please share
> an update on the overall status of the LZ4 vendor series, including
> whether v3 is still planned and any rough estimate for posting it?
>
> I understand that review and merge timing depend on the maintainers and
> other factors. I'm happy to re-run the KUnit suite on v3 and provide
> updated Tested-by trailers when it is available.
>
> Thanks,
> S. Biplab Raut
>

Hi Biplab,

Thanks for checking in. Yes, v3 is still planned.

While testing I found that upstream lz4hc compresses 4 KB blocks
noticeably slower than the current in kernel fork which matters for
zram.

Correctness isn't affected, only lz4hc compression speed. I think the
fix belongs upstream rather than in the kernel copy, so I'm filing two
pull requests to lz4 first, and v3 will reference them.

I expect to post v3 this week hopefully, as I don't intend to wait for
the PR's to be merged but simply offer a way to solve the regression.

Thanks for offering to re-run the KUnit suite, that would be very
helpful. I'll Cc you on v3.

Best regards,
--
Michal Wilczynski <m.wilczynski@xxxxxxxxxxx>