summaryrefslogtreecommitdiff
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-06-06 14:31:27 +0300
committerAvi Kivity <avi@redhat.com>2010-08-02 06:40:17 +0300
commitbe38d276b0189fa86231fc311428622a1981ad62 (patch)
tree4706819e23ade99c43bb676830071da9bd2d0abd /crypto/pcrypt.c
parentdd180b3e90253cb4ca95d603a8c17413f8daec69 (diff)
KVM: MMU: Introduce drop_spte()
When we call rmap_remove(), we (almost) always immediately follow it by an __set_spte() to a nonpresent pte. Since we need to perform the two operations atomically, to avoid losing the dirty and accessed bits, introduce a helper drop_spte() and convert all call sites. The operation is still nonatomic at this point. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions