VMware balloon: partially inline vmballoon_reserve_page.
authorXavier Deguillard <xdeguillard@vmware.com>
Fri, 12 Jun 2015 18:43:22 +0000 (11:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 20:17:23 +0000 (13:17 -0700)
commitef0f8f1129844cab9b0fb14aab0d7d7598d81103
tree36d917d88f70981ef40bbf79450e13674498ea67
parentd719b76c1306370d146c517e33b25f756b9a12d5
VMware balloon: partially inline vmballoon_reserve_page.

This split the function in two: the allocation part is inlined into the
inflate function and the lock part is kept into his own function.

This change is needed in order to be able to allocate more than one page
before doing the hypervisor call.

Signed-off-by: Xavier Deguillard <xdeguillard@vmware.com>
Acked-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Philip P. Moltmann <moltmann@vmware.com>
Acked-by: Andy King <acking@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/vmw_balloon.c