diff options
author | Qiang Zhang <[email protected]> | 2024-03-12 16:04:23 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-03-13 12:12:21 -0700 |
commit | 82634d7e24271698e50a3ec811e5f50de790a65f (patch) | |
tree | 88e8df0a2e1f7e85cb355d137e5ae7e349f6c985 /arch/x86/kvm/svm/nested.c | |
parent | cd197c3a2040100fd8668b33e72b07d4790b39d7 (diff) |
memtest: use {READ,WRITE}_ONCE in memory scanning
memtest failed to find bad memory when compiled with clang. So use
{WRITE,READ}_ONCE to access memory to avoid compiler over optimization.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Qiang Zhang <[email protected]>
Cc: Bill Wendling <[email protected]>
Cc: Justin Stitt <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions