]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: Only compile decompression routines
authorWarner Losh <imp@FreeBSD.org>
Sat, 13 Aug 2022 03:30:24 +0000 (21:30 -0600)
committerWarner Losh <imp@FreeBSD.org>
Sat, 13 Aug 2022 03:48:18 +0000 (21:48 -0600)
commit4f0c9b76cf75724ef0b9c59bb8c182be24361d7c
tree981c435ffd2ba03a352b822fe63d0c86015a1b8d
parent148211300870b3bd558bf70dc3bf7d7f78c657aa
stand: Only compile decompression routines

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
Reviewed by: tsoome, delphij
Differential Revision: https://reviews.freebsd.org/D36145
stand/libsa/zfs/Makefile.inc
sys/contrib/openzfs/module/zstd/zfs_zstd.c