]> git.baikalelectronics.ru Git - kernel.git/commit
Makefile: use smaller dictionary size for xz module compression
authorTor Vic <torvic9@mailbox.org>
Wed, 16 Dec 2020 12:58:02 +0000 (13:58 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 11 Feb 2021 20:11:19 +0000 (05:11 +0900)
commitd0e41e549aff48b5e9ea82412e8de73317792692
treed99439e7c9069ffaf16bdcbe223c01bff8a1bbf5
parenta20831f837fb023c21caa6418596e6b8f10644c4
Makefile: use smaller dictionary size for xz module compression

By default, xz without parameters uses a dictionary size of 8 MB.
However, most modules are much smaller than that.
The xz manpage states that 'increasing dictionary size usually improves
compression ratio, but a dictionary bigger than the uncompressed file
is waste of memory'.
Use a dictionary size of 2 MB for module compression, resulting in
slightly higher compression speed while still maintaining a good
compression ratio.

Signed-off-by: Tor Vic <torvic9@mailbox.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile