Page MenuHomeFreeBSD

stand: Only compile decompression routines
ClosedPublic

Authored by imp on Aug 11 2022, 11:26 PM.
Tags
None
Referenced Files
F110892343: D36145.id109292.diff
Mon, Feb 24, 1:29 PM
F110892340: D36145.diff
Mon, Feb 24, 1:29 PM
F110853257: D36145.id109205.diff
Mon, Feb 24, 12:37 AM
F110840017: D36145.id.diff
Sun, Feb 23, 8:18 PM
Unknown Object (File)
Fri, Feb 21, 7:33 AM
Unknown Object (File)
Dec 29 2024, 4:55 AM
Unknown Object (File)
Nov 18 2024, 2:58 AM
Unknown Object (File)
Nov 18 2024, 2:48 AM
Subscribers

Details

Summary

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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
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.