WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] RE: Ballooning up

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] RE: Ballooning up
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Mon, 13 Sep 2010 14:39:14 -0700 (PDT)
Cc: Konrad Wilk <konrad.wilk@xxxxxxxxxx>, Daniel Kiper <dkiper@xxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 13 Sep 2010 14:42:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <54eebb3a-f539-43be-8134-a969a4f671c4@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4C85F973.2030007@xxxxxxxx 54eebb3a-f539-43be-8134-a969a4f671c4@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Also, looking at the latest code in xen/next-2.6.32, I see
you have removed the balloon lock.  Isn't this necessary
to ensure multiple vcpus aren't racing on adjusting the
balloon size (and performing the hypercalls to do it)?
IOW, are increase/decrease_reservation and the calls
into the hypervisor thread-safe?

And, related especially if the lock goes away (repeat
of question asked here
http://lists.xensource.com/archives/html/xen-devel/2010-08/msg01664.html )
wouldn't it be better to use a separate workqueue rather than
the kernel default queue, and is there any reason to
queue the work on every cpu rather than just one?

Thanks,
Dan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>