summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-05-28 09:44:59 -0300
committerAvi Kivity <avi@redhat.com>2010-06-09 18:48:36 +0300
commit3be2264be3c00865116f997dc53ebcc90fe7fc4b (patch)
treef048924efa8c802db5b3f7a60eb80142bddbe303 /mm
parent67ec66077799f2fef84b21a643912b179c422281 (diff)
downloadlinux-3be2264be3c00865116f997dc53ebcc90fe7fc4b.tar.gz
linux-3be2264be3c00865116f997dc53ebcc90fe7fc4b.tar.bz2
linux-3be2264be3c00865116f997dc53ebcc90fe7fc4b.zip
KVM: MMU: invalidate and flush on spte small->large page size change
Always invalidate spte and flush TLBs when changing page size, to make sure different sized translations for the same address are never cached in a CPU's TLB. Currently the only case where this occurs is when a non-leaf spte pointer is overwritten by a leaf, large spte entry. This can happen after dirty logging is disabled on a memslot, for example. Noticed by Andrea. KVM-Stable-Tag Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions