diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-12-12 01:03:39 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-01-07 04:03:46 +0300 |
commit | e3e1a99787fcf6297990c3b6cf53f5f6ef5aed60 (patch) | |
tree | 2f39a69f64e5be3dd399349af5ebd3cf790ee393 /tools/kvm | |
parent | c54e413822701a18e7cf6bada2028ea9a9ecdaf9 (diff) | |
download | linux-e3e1a99787fcf6297990c3b6cf53f5f6ef5aed60.tar.xz |
torture: Compress KASAN vmlinux files
The sizes of vmlinux files built with KASAN enabled can approach a full
gigabyte, which can result in disk overflow sooner rather than later.
Fortunately, the xz command compresses them by almost an order of
magnitude. This commit therefore uses xz to compress vmlinux file built
by torture.sh with KASAN enabled.
However, xz is not the fastest thing in the world. In fact, it is way
slower than rotating-rust mass storage. This commit therefore also adds a
--compress-kasan-vmlinux argument to specify the degree of xz concurrency,
which defaults to using all available CPUs if there are that many files in
need of compression.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/kvm')
0 files changed, 0 insertions, 0 deletions