diff options
author | Alex Ng <alexng@messages.microsoft.com> | 2017-08-06 13:12:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-16 09:14:42 -0700 |
commit | 6df8d9aaf3afe25aacf20c69022a4c6d57b77a95 (patch) | |
tree | 6a361758fbcf7304d46b07a60bb89d678cd1d77e /drivers/hv/connection.c | |
parent | ea81fdf0981d9a4a998a015d325bed67624811f7 (diff) | |
download | linux-6df8d9aaf3afe25aacf20c69022a4c6d57b77a95.tar.bz2 |
Drivers: hv: balloon: Correctly update onlined page count
Previously, num_pages_onlined was updated using value from memory online
notifier. This is incorrect because they assume that all hot-added pages
are online, even though we only online the amount that's backed by the
host. We should update num_pages_onlined only when the balloon driver
marks a page as online.
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/connection.c')
0 files changed, 0 insertions, 0 deletions