public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch v2 0/4] KVM: Guest page hinting
@ 2017-09-13 16:17 Nitesh Narayan Lal
  2017-09-13 16:17 ` [Patch v2 1/4] KVM: Support for guest " Nitesh Narayan Lal
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Nitesh Narayan Lal @ 2017-09-13 16:17 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, nilal, pagupta, wei.w.wang, yang.zhang.wz, riel, david,
	mst

Changelog in v2:
        - Addressed comments provided in v1
        - Implementation to pass the global hyperlist (carrying pages which are to be freed) to the host by using existing virtio-balloon infrastructure (deflate_vq).

I am using synchronous virtqueue_kick API for which changes in virtio_ring.c and virtio.h are picked from Wei Wang's patch-set for Virtio-balloon enhancement [2]. ("Wei, How would you like me to credit you in the final patch?"). I am using this API because it doesn't requires any memory allocation in order to pass the list of pfns to the host. Which is required because of the seqlock used in arch_free_page to prevent memory allocations.

Query:
        - So far I don't have any implementation in QEMU. I have added few prints in QEMU balloon code to ensure that the guest page hinting kick is landing in the right location. As per my understanding on using deflate_vq QEMU's "virtio_balloon_handle_output" in hw/virtio/virtio-balloon.c should be invoked after the kick. But in my case for some reason that is not getting invoked. Any suggestions where am I going wrong?

[1] http://www.spinics.net/lists/kvm/msg153666.html
[2] http://www.spinics.net/lists/kvm/msg152734.html;

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-09-15 20:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-13 16:17 [Patch v2 0/4] KVM: Guest page hinting Nitesh Narayan Lal
2017-09-13 16:17 ` [Patch v2 1/4] KVM: Support for guest " Nitesh Narayan Lal
2017-09-14 19:26   ` kbuild test robot
2017-09-14 20:56   ` kbuild test robot
2017-09-13 16:17 ` [Patch v2 2/4] KVM: Guest page hinting functionality Nitesh Narayan Lal
2017-09-13 16:17 ` [Patch v2 3/4] KVM: Adding tracepoints for guest page hinting Nitesh Narayan Lal
2017-09-13 16:17 ` [Patch v2 4/4] KVM: Sending hyperlist to the host via deflate_vq Nitesh Narayan Lal
2017-09-14 20:26   ` kbuild test robot
2017-09-14 20:29   ` kbuild test robot
2017-09-15  2:07 ` [Patch v2 0/4] KVM: Guest page hinting Wei Wang
2017-09-15 20:16   ` Nitesh Narayan Lal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox