diff options
author | 2022-03-25 10:32:11 +0800 | |
---|---|---|
committer | 2022-04-06 13:15:06 +0000 | |
commit | b3d6dd09ff00fdcf4f7c0cb54700ffd5dd343502 (patch) | |
tree | cd587a0321cce431ab9e48eafea65beaa93b26a5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer (diff) | |
download | wireguard-linux-b3d6dd09ff00fdcf4f7c0cb54700ffd5dd343502.tar.xz wireguard-linux-b3d6dd09ff00fdcf4f7c0cb54700ffd5dd343502.zip |
Drivers: hv: balloon: Support status report for larger page sizes
DM_STATUS_REPORT expects the numbers of pages in the unit of 4k pages
(HV_HYP_PAGE) instead of guest pages, so to make it work when guest page
sizes are larger than 4k, convert the numbers of guest pages into the
numbers of HV_HYP_PAGEs.
Note that the numbers of guest pages are still used for tracing because
tracing is internal to the guest kernel.
Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20220325023212.1570049-2-boqun.feng@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions