From 036a7ad18b69f386bfc85efe53d41e0478fbc897 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Wed, 19 Oct 2022 10:55:28 -0500 Subject: kernel-6.1.0-0.rc1.20221019gitaae703b02f92.17 * Wed Oct 19 2022 Fedora Kernel Team [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 --- parallel_xz.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 parallel_xz.sh (limited to 'parallel_xz.sh') 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 - 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 -- cgit