xen/balloon: don't alloc page while non-preemptible
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 19 Sep 2013 16:14:53 +0000 (17:14 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 24 Sep 2013 20:22:27 +0000 (16:22 -0400)
get_balloon_scratch_page() disables preemption so we cannot call
alloc_page() in between get/put_balloon_scratch_page().  Shuffle bits
around in decrease_reservation() to avoid this.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/balloon.c

Simple merge