linux/tools/testing/selftests/vDSO
Jason A. Donenfeld a18c835779 selftests: vDSO: align getrandom states to cache line
This prevents false sharing, which makes a large difference on machines
with several NUMA nodes, such as on a dual socket Intel(R) Xeon(R) Gold
6338 CPU @ 2.00GHz, where the "bench-multi" test goes from 2.7s down to
1.9s. While this is just test code, it also forms the basis of how folks
will wind up implementing this in libraries, so we should implement this
simple cache alignment improvement here.

Suggested-by: Florian Weimer <fweimer@redhat.com>
Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-10-01 08:30:58 -06:00
..
.gitignore selftests/vDSO: add tests for vgetrandom 2024-07-19 20:22:12 +02:00
Makefile s390/vdso: Wire up getrandom() vdso implementation 2024-09-13 20:57:31 +02:00
parse_vdso.c selftests: vDSO: fix ELF hash table entry size for s390x 2024-09-13 17:28:36 +02:00
parse_vdso.h
vdso_call.h selftests: vDSO: fix the way vDSO functions are called for powerpc 2024-08-30 15:48:45 +02:00
vdso_config.h selftests: vDSO: fix vdso_config for s390 2024-09-13 17:28:36 +02:00
vdso_standalone_test_x86.c selftests: vDSO: align stack for O2-optimized memcpy 2024-09-27 12:17:12 -06:00
vdso_test_abi.c selftests: vDSO: use parse_vdso.h in vdso_test_abi 2024-08-30 15:48:45 +02:00
vdso_test_chacha.c selftests: vDSO: check cpu caps before running chacha test 2024-09-16 13:22:04 +02:00
vdso_test_clock_getres.c
vdso_test_correctness.c selftests: vDSO: fix the way vDSO functions are called for powerpc 2024-08-30 15:48:45 +02:00
vdso_test_getcpu.c selftests: vDSO: fix the way vDSO functions are called for powerpc 2024-08-30 15:48:45 +02:00
vdso_test_getrandom.c selftests: vDSO: align getrandom states to cache line 2024-10-01 08:30:58 -06:00
vdso_test_gettimeofday.c selftests: vDSO: fix the way vDSO functions are called for powerpc 2024-08-30 15:48:45 +02:00