diff options
| author | Sean Christopherson <[email protected]> | 2022-04-29 21:00:22 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-05-25 05:23:42 -0400 |
| commit | 3ba2c95ea180740b16281fa43a3ee5f47279c0ed (patch) | |
| tree | 81e9f15077530a931e7c2fcf30b557f89be4802f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3dddf65b4f4c451c345d34ae85bdf1791a746e49 (diff) | |
KVM: Do not incorporate page offset into gfn=>pfn cache user address
Don't adjust the userspace address in the gfn=>pfn cache by the page
offset from the gpa. KVM should never use the user address directly, and
all KVM operations that translate a user address to something else
require the user address to be page aligned. Ignoring the offset will
allow the cache to reuse a gfn=>hva translation in the unlikely event
that the page offset of the gpa changes, but the gfn does not. And more
importantly, not having to (un)adjust the user address will simplify a
future bug fix.
Cc: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions