diff options
author | Ben Gardon <[email protected]> | 2021-02-02 10:57:26 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-02-04 05:27:44 -0500 |
commit | 9a77daacc87dee9fd63e31243f21894132ed8407 (patch) | |
tree | 1286e1602eb7e55325e92b8cb8565f72587e7064 /lib/mpi/mpi-mod.c | |
parent | a9442f594147f95307f691cfba0c31e25dc79b9d (diff) |
KVM: x86/mmu: Use atomic ops to set SPTEs in TDP MMU map
To prepare for handling page faults in parallel, change the TDP MMU
page fault handler to use atomic operations to set SPTEs so that changes
are not lost if multiple threads attempt to modify the same SPTE.
Reviewed-by: Peter Feiner <[email protected]>
Signed-off-by: Ben Gardon <[email protected]>
Message-Id: <[email protected]>
[Document new locking rules. - Paolo]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions