rcutorture: Avoid torture.sh compressing identical files
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 30 Aug 2022 18:52:13 +0000 (11:52 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 20 Oct 2022 22:28:38 +0000 (15:28 -0700)
commitcb0982e205e2368b5a5d148a6929fda735422727
tree5368957397419e67dd751182291cda3136233477
parentdfabd42099df9e8ead8cf2bc4d918a1fa70ec96d
rcutorture: Avoid torture.sh compressing identical files

Currently, torture.sh will compress the vmlinux files for KASAN and
KCSAN runs.  But it will compress all of the files, including those
copied verbatim by the kvm-again.sh script.  Compression takes around ten
minutes, so this is not a good thing.  This commit therefore compresses
only one of a given set of identical vmlinux files, and then hard-links
it to the directories produced by kvm-again.sh.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/torture.sh