diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2022-10-19 10:55:28 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2022-10-19 10:55:28 -0500 |
commit | 036a7ad18b69f386bfc85efe53d41e0478fbc897 (patch) | |
tree | 44ca2cbd70e35a04060c43bfda03a03a5c6b1a57 /parallel_xz.sh | |
parent | 127f59bb3078847e767f24ce0e8cba4fa4e005f8 (diff) | |
download | kernel-036a7ad18b69f386bfc85efe53d41e0478fbc897.tar.gz kernel-036a7ad18b69f386bfc85efe53d41e0478fbc897.tar.xz kernel-036a7ad18b69f386bfc85efe53d41e0478fbc897.zip |
kernel-6.1.0-0.rc1.20221019gitaae703b02f92.17
* Wed Oct 19 2022 Fedora Kernel Team <kernel-team@fedoraproject.org> [6.1.0-0.rc1.aae703b02f92.17]
- perf tools: Fix man page build wrt perf-arm-coresight.txt (Adrian Hunter)
Resolves:
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'parallel_xz.sh')
-rwxr-xr-x | parallel_xz.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/parallel_xz.sh b/parallel_xz.sh deleted file mode 100755 index f1b6cdd15..000000000 --- a/parallel_xz.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# Reads filenames on stdin, xz-compresses each in place. -# Not optimal for "compress relatively few, large files" scenario! - -# How many xz's to run in parallel: -procgroup="" -while test "$#" != 0; do - # Get it from -jNUM - N="${1#-j}" - if test "$N" = "$1"; then - # Not -j<something> - warn and ignore - echo "parallel_xz: warning: unrecognized argument: '$1'" - else - procgroup="$N" - fi - shift -done - -# If told to use only one cpu: -test "$procgroup" || exec xargs -r xz -test "$procgroup" = 1 && exec xargs -r xz - -# xz has some startup cost. If files are really small, -# this cost might be significant. To combat this, -# process several files (in sequence) by each xz process via -n 16: -exec xargs -r -n 16 -P "$procgroup" xz |