]> Git Repo - linux.git/commit
xen/balloon: don't alloc page while non-preemptible
authorDavid Vrabel <[email protected]>
Thu, 19 Sep 2013 16:14:53 +0000 (17:14 +0100)
committerKonrad Rzeszutek Wilk <[email protected]>
Tue, 24 Sep 2013 20:22:27 +0000 (16:22 -0400)
commit24f69373e212d4356268fbb1d01c5735423c300d
tree2d8b679328228141ebbcd85f792828b90f44cf54
parenta945928ea2709bc0e8e8165d33aed855a0110279
xen/balloon: don't alloc page while non-preemptible

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 <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
drivers/xen/balloon.c
This page took 0.073041 seconds and 4 git commands to generate.