Drivers: hv: balloon: Ensure pressure reports are posted regularly
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 23 Apr 2014 20:53:39 +0000 (13:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 23:25:17 +0000 (19:25 -0400)
commitae339336dc950b9b05e7ccd3565dd3e8781c06d9
tree2bb17d8459e73aa4b72307e228f3a9da25ba6a3a
parent24b8a406bf5c3675bd193069cc6ab84a66fcbfd7
Drivers: hv: balloon: Ensure pressure reports are posted regularly

The current code posts periodic memory pressure status from a dedicated thread.
Under some conditions, especially when we are releasing a lot of memory into
the guest, we may not send timely pressure reports back to the host. Fix this
issue by reporting pressure in all contexts that can be active in this driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_balloon.c
This page took 0.026735 seconds and 5 git commands to generate.