diff options
author | Paul Durrant <[email protected]> | 2024-02-15 15:29:02 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-02-20 07:37:44 -0800 |
commit | 406c10962a4cbb1e04aa7993ea466db1a4533ae4 (patch) | |
tree | 5e1a2f2874d1c0d094c15607077e3dcfcfdb275c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53e63e953e14a66b7d0d7e9c616cd602f3da9291 (diff) |
KVM: pfncache: include page offset in uhva and use it consistently
Currently the pfncache page offset is sometimes determined using the gpa
and sometimes the khva, whilst the uhva is always page-aligned. After a
subsequent patch is applied the gpa will not always be valid so adjust
the code to include the page offset in the uhva and use it consistently
as the source of truth.
Also, where a page-aligned address is required, use PAGE_ALIGN_DOWN()
for clarity.
No functional change intended.
Signed-off-by: Paul Durrant <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions