Page MenuHomeFreeBSD

stand: Only compile decompression routines

Authored by imp on Aug 11 2022, 11:26 PM.
Referenced Files
Unknown Object (File)
Jan 12 2024, 3:03 AM
Unknown Object (File)
Oct 11 2023, 8:20 PM
Unknown Object (File)
Aug 25 2023, 11:59 PM
Unknown Object (File)
Jun 24 2023, 3:04 AM
Unknown Object (File)
May 2 2023, 8:04 AM
Unknown Object (File)
Apr 13 2023, 3:53 PM
Unknown Object (File)
Apr 13 2023, 3:49 PM
Unknown Object (File)
Apr 13 2023, 5:15 AM



We don't need the compress rotuines, nor zstd_opt.c. Remove them.
Expand the number of places we omit code for IN_LIBSA (which are FreeBSD
specific). Due to the agressive optimization, though, this doesn't
reduce the size of the loader. It does reduce the number of 'false
positives' for places to omit to reduce the size as well as reducing the
build time slightly.

Sponsored by: Netflix

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

imp requested review of this revision.Aug 11 2022, 11:26 PM

Note: the changes to openzfs only slightly expand the changes from upstream (which also doesn't have the IN_LIBSA ifdefs).

This revision is now accepted and ready to land.Aug 12 2022, 6:30 AM
This revision was automatically updated to reflect the committed changes.