[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Patch V2] xen: release lock occasionally during ballooning



On 20/07/15 12:49, Juergen Gross wrote:
> When dom0 is being ballooned balloon_process() will hold the balloon
> mutex until it is finished. This will block e.g. creation of new
> domains as the device backends for the new domain need some
> autoballooned pages for the ring buffers.
> 
> Avoid this by releasing the balloon mutex from time to time during
> ballooning. Adjust the comment above balloon_process() regarding
> multiple instances of balloon_process().
> 
> Instead of open coding it, just use cond_resched().

Applied to for-linus-4.2, thanks.

David

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.