Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1188186
| From | David Vrabel <david.vrabel@citrix.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Xen-devel] [Patch V2] xen: release lock occasionally during ballooning |
| Date | 2015-07-20 15:20 +0200 |
| Message-ID | <pOj99-2gP-35@gated-at.bofh.it> (permalink) |
| References | <pOhK1-7f-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [Xen-devel] [Patch V2] xen: release lock occasionally during ballooning David Vrabel <david.vrabel@citrix.com> - 2015-07-20 15:20 +0200
csiph-web