aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2021-08-06 12:31:08 +0100
committerMarc Zyngier <[email protected]>2021-08-20 09:12:24 +0100
commitcf364e08ea1c5dd217afb658d510aaef7d0cc6f4 (patch)
tree73d252192060ec25e5dce98cc87edfdfdd7cf1b9 /lib/test_overflow.c
parent4efc0ede4f31d7ec25c3dee0c8f07f93735cee6d (diff)
KVM: arm64: Upgrade VMID accesses to {READ,WRITE}_ONCE
Since TLB invalidation can run in parallel with VMID allocation, we need to be careful and avoid any sort of load/store tearing. Use {READ,WRITE}_ONCE consistently to avoid any surprise. Cc: Catalin Marinas <[email protected]> Cc: Jade Alglave <[email protected]> Cc: Shameer Kolothum <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Will Deacon <[email protected]> Reviewed-by: Quentin Perret <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions