Rafael Aquini aqu...@redhat.com writes:
On Thu, Nov 08, 2012 at 09:32:18AM +1030, Rusty Russell wrote:
The first one can be delayed, the second one can be delayed if the host
didn't ask for VIRTIO_BALLOON_F_MUST_TELL_HOST (qemu doesn't).
We could implement a proper request queue for these,
On Wed, Nov 07, 2012 at 04:11:46PM -0800, Andrew Morton wrote:
On Thu, 08 Nov 2012 09:32:18 +1030
Rusty Russell ru...@rustcorp.com.au wrote:
Rafael Aquini aqu...@redhat.com writes:
+ * virtballoon_migratepage - perform the balloon page migration on
behalf of
+ *
On Wed, Nov 07, 2012 at 01:05:52AM -0200, Rafael Aquini wrote:
Memory fragmentation introduced by ballooning might reduce significantly
the number of 2MB contiguous memory blocks that can be used within a guest,
thus imposing performance penalties associated with the reduced number of
On Wed, 7 Nov 2012 01:05:52 -0200
Rafael Aquini aqu...@redhat.com wrote:
Memory fragmentation introduced by ballooning might reduce significantly
the number of 2MB contiguous memory blocks that can be used within a guest,
thus imposing performance penalties associated with the reduced number
On Wed, Nov 07, 2012 at 11:58:10AM -0800, Andrew Morton wrote:
On Wed, 7 Nov 2012 01:05:52 -0200
Rafael Aquini aqu...@redhat.com wrote:
Memory fragmentation introduced by ballooning might reduce significantly
the number of 2MB contiguous memory blocks that can be used within a guest,
Rafael Aquini aqu...@redhat.com writes:
+ * virtballoon_migratepage - perform the balloon page migration on behalf of
+ *a compation thread. (called under page lock)
+ if (!mutex_trylock(vb-balloon_lock))
+ return -EAGAIN;
Erk, OK...
+ /*
On Thu, 08 Nov 2012 09:32:18 +1030
Rusty Russell ru...@rustcorp.com.au wrote:
Rafael Aquini aqu...@redhat.com writes:
+ * virtballoon_migratepage - perform the balloon page migration on behalf
of
+ * a compation thread. (called under page lock)
+ if
On Wed, Nov 07, 2012 at 04:11:46PM -0800, Andrew Morton wrote:
On Thu, 08 Nov 2012 09:32:18 +1030
Rusty Russell ru...@rustcorp.com.au wrote:
Rafael Aquini aqu...@redhat.com writes:
+ * virtballoon_migratepage - perform the balloon page migration on
behalf of
+ *
On Thu, Nov 08, 2012 at 09:32:18AM +1030, Rusty Russell wrote:
The first one can be delayed, the second one can be delayed if the host
didn't ask for VIRTIO_BALLOON_F_MUST_TELL_HOST (qemu doesn't).
We could implement a proper request queue for these, and return -EAGAIN
if the queue fills.