summaryrefslogtreecommitdiff
path: root/drivers/xen/events/events_base.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2015-07-20 14:49:39 +0300
committerDavid Vrabel <david.vrabel@citrix.com>2015-07-20 15:37:05 +0300
commit929423fa83e5b75e94101b280738b9a5a376a0e1 (patch)
tree6cd72c81da19d07724be549366b750cf1ceca829 /drivers/xen/events/events_base.c
parent30b03d05e07467b8c6ec683ea96b5bffcbcd3931 (diff)
downloadlinux-929423fa83e5b75e94101b280738b9a5a376a0e1.tar.xz
xen: release lock occasionally during ballooning
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(). Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/events/events_base.c')
0 files changed, 0 insertions, 0 deletions