diff options
author | James Morse <[email protected]> | 2019-12-17 12:38:09 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-01-19 18:05:20 +0000 |
commit | 1559b7583ff6ed018c5320d1503fa80b435775f0 (patch) | |
tree | 007e2f546b1201d4a2301ebacc8d9273ddf093ce /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | de9375634b1ef49091004d08e5cd4f68695adf0f (diff) |
KVM: arm/arm64: Re-check VMA on detecting a poisoned page
When we check for a poisoned page, we use the VMA to tell userspace
about the looming disaster. But we pass a pointer to this VMA
after having released the mmap_sem, which isn't a good idea.
Instead, stash the shift value that goes with this pfn while
we are holding the mmap_sem.
Reported-by: Marc Zyngier <[email protected]>
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions