summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2011-12-15 02:02:47 +0000
committerAvi Kivity <avi@redhat.com>2012-03-05 14:52:39 +0200
commit55514893739d28f095f19b012133eea4cb4a9390 (patch)
tree53133098473395a8a4ff1f00414137c2481a5fd0 /arch/powerpc/kvm/book3s.c
parentbad3b5075eeb18cb1641b4171618add638bc0fa7 (diff)
downloadlinux-55514893739d28f095f19b012133eea4cb4a9390.tar.gz
linux-55514893739d28f095f19b012133eea4cb4a9390.tar.bz2
linux-55514893739d28f095f19b012133eea4cb4a9390.zip
KVM: PPC: Book3S HV: Use the hardware referenced bit for kvm_age_hva
This uses the host view of the hardware R (referenced) bit to speed up kvm_age_hva() and kvm_test_age_hva(). Instead of removing all the relevant HPTEs in kvm_age_hva(), we now just reset their R bits if set. Also, kvm_test_age_hva() now scans the relevant HPTEs to see if any of them have R set. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/book3s.c')
0 files changed, 0 insertions, 0 deletions