History

kbuild: modinst: remove the multithread option from zstd compression

Parallel execution is supported by GNU Make: $ make -j<N> modules_install It is questionable to enable multithreading within each zstd process by default. If you still want to do it, you can use the environment variable: $ ZSTD_NBTHREADS=<N> make modules_install

Masahiro Yamada committed 2 years ago

Commit 0c4beff1 parent 76be4f51 file · +1 −1Browse files

Unified · Split

scripts/Makefile.modinst+1−1
@@ -146,7 +146,7 @@ quiet_cmd_gzip = GZIP $@ · 145 unmodified lines
146146 quiet_cmd_xz = XZ $@
147147 cmd_xz = $(XZ) --check=crc32 --lzma2=dict=1MiB -f $<
148148 quiet_cmd_zstd = ZSTD $@
149− cmd_zstd = $(ZSTD) -T0 --rm -f -q $<
149+ cmd_zstd = $(ZSTD) --rm -f -q $<
150150
151151 $(dst)/%.ko.gz: $(dst)/%.ko FORCE
152152 $(call cmd,gzip)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t