diff options
author | 2022-10-08 18:10:13 +0300 | |
---|---|---|
committer | 2022-10-14 14:22:23 +0200 | |
commit | a383dcb1cca8305497877119fba0a320f41fe853 (patch) | |
tree | b6097f63f7d4606f40338d86f86a7401e9aa06cf /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | xen/virtio: Handle cases when page offset > PAGE_SIZE properly (diff) | |
download | linux-dev-a383dcb1cca8305497877119fba0a320f41fe853.tar.xz linux-dev-a383dcb1cca8305497877119fba0a320f41fe853.zip |
xen/virtio: Convert PAGE_SIZE/PAGE_SHIFT/PFN_UP to Xen counterparts
Currently, a grant ref is always based on the Xen page granularity
(4KB), and guest commonly uses the same page granularity.
But the guest may use a different page granularity (i.e 64KB).
So adopt the code to be able to deal with it.
Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Link: https://lore.kernel.org/r/20221008151013.2537826-3-olekstysh@gmail.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions