diff options
author | Alex Ng <alexng@messages.microsoft.com> | 2017-08-06 23:12:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-16 19:14:43 +0300 |
commit | c548f3957efa57b6f1a1f4c90013232f6f488682 (patch) | |
tree | 91b8429b9c286d807c07910f6c0ee31b4dd2de52 /drivers/hv/hv_kvp.c | |
parent | 7b6e54b524b66b60e4cf49e8aa7c43045ebb987d (diff) | |
download | linux-c548f3957efa57b6f1a1f4c90013232f6f488682.tar.xz |
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