diff options
author | Boqun Feng <[email protected]> | 2022-03-25 10:32:11 +0800 |
---|---|---|
committer | Wei Liu <[email protected]> | 2022-04-06 13:15:06 +0000 |
commit | b3d6dd09ff00fdcf4f7c0cb54700ffd5dd343502 (patch) | |
tree | cd587a0321cce431ab9e48eafea65beaa93b26a5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | b6cae15b5710c8097aad26a2e5e752c323ee5348 (diff) |
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 <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions