Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1188186 > unrolled thread

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

Started byDavid Vrabel <david.vrabel@citrix.com>
First post2015-07-20 15:20 +0200
Last post2015-07-20 15:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Xen-devel] [Patch V2] xen: release lock occasionally during  ballooning David Vrabel <david.vrabel@citrix.com> - 2015-07-20 15:20 +0200

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

FromDavid Vrabel <david.vrabel@citrix.com>
Date2015-07-20 15:20 +0200
SubjectRe: [Xen-devel] [Patch V2] xen: release lock occasionally during ballooning
Message-ID<pOj99-2gP-35@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web