diff options
author | Jason A. Donenfeld <[email protected]> | 2024-09-29 04:55:49 +0200 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-10-01 08:30:58 -0600 |
commit | a18c835779e1a2ecf8e83c18f5af6a3b05699aaa (patch) | |
tree | a8be7c94c81a8c548b49fdd7467bec8e9b7d126f /scripts/gdb/linux/modules.py | |
parent | 45a8897db67d43aad3a17a792fe06a6306f483d6 (diff) |
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 <[email protected]>
Cc: Adhemerval Zanella <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions