David Vrabel 2bad07ce28 xen/balloon: ensure preemption is disabled when using a scratch page
In decrease_reservation(), if the kernel is preempted between updating
the mapping and updating the p2m then they may end up using different
scratch pages.

Use get_balloon_scratch_page() and put_balloon_scratch_page() which use
get_cpu_var() and put_cpu_var() to correctly disable preemption.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
2013-09-11 17:52:58 +00:00
..
2013-07-31 11:37:43 -07:00
2013-06-28 11:19:58 -04:00
2013-09-09 12:05:37 -04:00
2013-08-30 08:44:53 -04:00
2008-12-16 21:50:31 +01:00
2013-06-28 11:19:58 -04:00
2013-07-29 09:35:11 -04:00
2013-06-28 11:19:58 -04:00
2013-06-28 11:19:58 -04:00
2011-12-16 13:29:31 -05:00
2013-07-03 13:12:42 -07:00
2013-06-28 11:19:58 -04:00