summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_book3s_64.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2018-12-12 15:16:17 +1100
committerPaul Mackerras <paulus@ozlabs.org>2018-12-17 10:58:33 +1100
commitf460f6791a0224cfb019462363caa014c3aec8d7 (patch)
tree2d64f032525138a207d3ae0c6b02308c271141d5 /arch/powerpc/include/asm/kvm_book3s_64.h
parentf032b73459eed4897bcafee2b1d37a817f1bb596 (diff)
downloadblackbird-obmc-linux-f460f6791a0224cfb019462363caa014c3aec8d7.tar.gz
blackbird-obmc-linux-f460f6791a0224cfb019462363caa014c3aec8d7.zip
KVM: PPC: Book3S HV: Map single pages when doing dirty page logging
For radix guests, this makes KVM map guest memory as individual pages when dirty page logging is enabled for the memslot corresponding to the guest real address. Having a separate partition-scoped PTE for each system page mapped to the guest means that we have a separate dirty bit for each page, thus making the reported dirty bitmap more accurate. Without this, if part of guest memory is backed by transparent huge pages, the dirty status is reported at a 2MB granularity rather than a 64kB (or 4kB) granularity for that part, causing userspace to have to transmit more data when migrating the guest. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Reviewed-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s_64.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud