Page MenuHomeFreeBSD

Port liblzma to the kernel
AbandonedPublic

Authored by cem on May 6 2017, 4:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 29 2023, 8:25 PM
Unknown Object (File)
Dec 3 2023, 9:46 AM
Unknown Object (File)
Sep 21 2023, 5:31 PM
Unknown Object (File)
Sep 11 2023, 4:44 AM
Unknown Object (File)
May 4 2023, 2:29 AM
Subscribers

Details

Reviewers
allanjude
bapt
Summary

Integrate liblzma with the kernel build system. Note that this assumes the
contrib/xz directory will be relocated to sys/contrib first. The kernel
build system can only access files in <root>/sys, apparently.

Mock up headers and macros to get appropriate defines for liblzma; avoid
adding a duplicate crc32 implementation.

Diff Detail

Event Timeline

Remove Isilon-internal annotations and dependencies (ASSERT())

I would still like to commit this at some point. A GZIO-alike wrapper can be written (like the ZSTDIO I recently proposed), and I think it would be a useful configuration for userspace core dumps. I don't think lzma will be useful for compressing kernel dumps, because there is no way to allocate a static context, AFAICT.

Might be interested for someone who really wants better compressed user cores, but zstd suffices for me.