summaryrefslogtreecommitdiff
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-12-12 01:03:39 +0300
committerPaul E. McKenney <paulmck@kernel.org>2021-01-07 04:03:46 +0300
commite3e1a99787fcf6297990c3b6cf53f5f6ef5aed60 (patch)
tree2f39a69f64e5be3dd399349af5ebd3cf790ee393 /drivers/net/dsa
parentc54e413822701a18e7cf6bada2028ea9a9ecdaf9 (diff)
downloadlinux-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 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions