]> git.ipfire.org Git - people/arne_f/kernel.git/commit
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>
Thu, 26 Jun 2014 19:17:35 +0000 (15:17 -0400)
commit856d760ca03d0e1685ea55fe49e858b6402cd396
treed145845e628afd1625c96415f9e488d42db6fe28
parentd4c6a43a6065d87e97e88192f5fa51fb59e16f7b
Drivers: hv: balloon: Ensure pressure reports are posted regularly

commit ae339336dc950b9b05e7ccd3565dd3e8781c06d9 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_balloon.c