aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJanis Schoetterl-Glausch <[email protected]>2021-11-26 17:45:48 +0100
committerJanosch Frank <[email protected]>2021-12-17 14:49:26 +0100
commit7faa543df19bf62d4583a64d3902705747f2ad29 (patch)
tree2311f14c5b40bba8d8e1376a71b5b9b765a64742 /tools/perf/scripts/python
parent416e7f0c9d613bf84e182eba9547ae8f9f5bfa4c (diff)
KVM: s390: gaccess: Refactor access address range check
Do not round down the first address to the page boundary, just translate it normally, which gives the value we care about in the first place. Given this, translating a single address is just the special case of translating a range spanning a single page. Make the output optional, so the function can be used to just check a range. Signed-off-by: Janis Schoetterl-Glausch <[email protected]> Reviewed-by: Janosch Frank <[email protected]> Reviewed-by: Claudio Imbrenda <[email protected]> Message-Id: <[email protected]> Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions