summaryrefslogtreecommitdiff
path: root/drivers/hv/hv_kvp.c
diff options
context:
space:
mode:
authorAlex Ng <alexng@messages.microsoft.com>2017-08-06 13:12:55 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-16 09:14:43 -0700
commitc548f3957efa57b6f1a1f4c90013232f6f488682 (patch)
tree91b8429b9c286d807c07910f6c0ee31b4dd2de52 /drivers/hv/hv_kvp.c
parent7b6e54b524b66b60e4cf49e8aa7c43045ebb987d (diff)
Drivers: hv: balloon: Initialize last_post_time on startup
When left uninitialized, this sometimes fails the following check in post_status(): if (!time_after(now, (last_post_time + HZ))) { return; } This causes unnecessary delays in reporting memory pressure to host after booting up. Signed-off-by: Alex Ng <alexng@messages.microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv_kvp.c')
0 files changed, 0 insertions, 0 deletions