diff options
| author | Oliver Upton <oliver.upton@linux.dev> | 2022-12-09 01:53:02 +0000 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-27 06:00:50 -0500 |
| commit | 92c8191bb5d3f670ed806f91823381193288a4e1 (patch) | |
| tree | b4084902e080c68f43c7d2957f99c4f5a77bd100 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | KVM: arm64: selftests: Don't identity map the ucall MMIO hole (diff) | |
| download | linux-92c8191bb5d3f670ed806f91823381193288a4e1.tar.gz linux-92c8191bb5d3f670ed806f91823381193288a4e1.zip | |
KVM: selftests: Mark correct page as mapped in virt_map()
The loop marks vaddr as mapped after incrementing it by page size,
thereby marking the *next* page as mapped. Set the bit in vpages_mapped
first instead.
Fixes: 56fc7732031d ("KVM: selftests: Fill in vm->vpages_mapped bitmap in virt_map() too")
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Message-Id: <20221209015307.1781352-4-oliver.upton@linux.dev>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
