KVM: selftests: Rename perf_test_util.[ch] to memstress.[ch]
authorDavid Matlack <dmatlack@google.com>
Wed, 12 Oct 2022 16:57:27 +0000 (09:57 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 16 Nov 2022 18:57:34 +0000 (10:57 -0800)
commit9fda6753c9dd4594e2c66c56b48b56a326ee686f
tree16b2ca3949c0738fc299b7bfa7b8594a7e82c38b
parentc967a4752ac66cc0ef8c0b1f4914151ca8758709
KVM: selftests: Rename perf_test_util.[ch] to memstress.[ch]

Rename the perf_test_util.[ch] files to memstress.[ch]. Symbols are
renamed in the following commit to reduce the amount of churn here in
hopes of playiing nice with git's file rename detection.

The name "memstress" was chosen to better describe the functionality
proveded by this library, which is to create and run a VM that
reads/writes to guest memory on all vCPUs in parallel.

"memstress" also contains the same number of chracters as "perf_test",
making it a drop-in replacement in symbols, e.g. function names, without
impacting line lengths. Also the lack of underscore between "mem" and
"stress" makes it clear "memstress" is a noun.

Signed-off-by: David Matlack <dmatlack@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221012165729.3505266-2-dmatlack@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/access_tracking_perf_test.c
tools/testing/selftests/kvm/demand_paging_test.c
tools/testing/selftests/kvm/dirty_log_perf_test.c
tools/testing/selftests/kvm/include/memstress.h [moved from tools/testing/selftests/kvm/include/perf_test_util.h with 91% similarity]
tools/testing/selftests/kvm/lib/memstress.c [moved from tools/testing/selftests/kvm/lib/perf_test_util.c with 99% similarity]
tools/testing/selftests/kvm/lib/x86_64/memstress.c [moved from tools/testing/selftests/kvm/lib/x86_64/perf_test_util.c with 97% similarity]
tools/testing/selftests/kvm/memslot_modification_stress_test.c