OSDN Git Service

Drivers: hv: hv_balloon: Make adjustments in computing the floor
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 10 Jan 2015 07:54:29 +0000 (23:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 17:17:57 +0000 (09:17 -0800)
commit79208c57da5311860f165b613c89b3f647e357cd
treea870ed90185525e2e3c41dcde7abda0e6de1b316
parentc1136da62170465920eea1ae9ba9ce2234091f77
Drivers: hv: hv_balloon: Make adjustments in computing the floor

Make adjustments in computing the balloon floor. The current computation
of the balloon floor was not appropriate for virtual machines with more than
10 GB of assigned memory - we would get into situations where the host would
agressively balloon down the guest and leave the guest in an unusable state.
This patch fixes the issue by raising the floor.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_balloon.c