Skip to content

KVM: Guest page hinting

[email protected] kvm 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 1 replyIn review
  2. v57 patches 0 repliesSuperseded
  3. v46 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v35 patches1 replySuperseded
v1 RFC3 patches8 repliesSuperseded

Changes in v6 from the cover letter

-Moved CONFIG_KVM_FREE_PAGE_HINTING from virt/kvm/Kconfig to arch/x86/kvm/Kconfig in order to resolve conflicts with other architectures:
*s390 has its own page hinting functionality
*powerpc has its own arch_free_page implementation
-Fixed the typo in virtio_balloon structure which caused compilation issues when guest page hinting was disabled -Separated init_vqs implementation with and without hinting_vq enablement based on the CONFIG_KVM_FREE_PAGE_HINTING ifdef

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7KVM: Support for guest page hintingarch/x86/Kbuild arch/x86/kvm/Kconfig arch/x86/kvm/Makefile +2 more+62 -10 replies
2/7KVM: Guest page hinting functionalityvirt/kvm/page_hinting.c+243 -20 replies
3/7KVM: Adding tracepoints for guest page hintinginclude/trace/events/kmem.h virt/kvm/page_hinting.c+119 -20 replies
4/7virtio: Exposes added descriptor to the other side synchronouslydrivers/virtio/virtio_ring.c include/linux/virtio.h+175 -10 replies
5/7KVM: Sending hyperlist to the host via hinting_vqdrivers/virtio/virtio_balloon.c include/linux/page_hinting.h include/uapi/linux/virtio_balloon.h +1 more+129 -230 replies
6/7KVM: Enabling guest page hinting via static keydrivers/virtio/virtio_balloon.c include/linux/gfp.h include/linux/page_hinting.h +2 more+66 -110 replies
7/7KVM: Disabling page poisoning to avoid memory corruption errorsinclude/linux/page_hinting.h mm/page_poison.c virt/kvm/page_hinting.c+11 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [Patch v6 0/7] KVM: Guest page hinting

Changelog in v6:
-Moved CONFIG_KVM_FREE_PAGE_HINTING from virt/kvm/Kconfig to arch/x86/kvm/Kconfig in order to resolve conflicts with other architectures:
*s390 has its own page hinting functionality
*powerpc has its own arch_free_page implementation
-Fixed the typo in virtio_balloon structure which caused compilation issues when guest page hinting was disabled -Separated init_vqs implementation with and without hinting_vq enablement based on the CONFIG_KVM_FREE_PAGE_HINTING ifdef

Virtio interface changes are picked up from Wei's patch-set for Virtio-balloon enhancement[3]. "Wei, How would you like me to credit you in the final patch?")