summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2026-05-21 13:46:11 +0100
committerMarc Zyngier <maz@kernel.org>2026-05-27 14:07:24 +0100
commit0f7abb6eaa3c3965f925e231c18409dac4f5a0c1 (patch)
tree77ba2ccef5bbcafacd295a595672e2e6881b730f /include/linux/stackprotector.h
parent1750ad1388e03fb27068cd1f22c9c8b4590fe936 (diff)
KVM: arm64: Fix meta-page unsharing in pKVM hyp tracing
As the hyp_trace_buffer_unshare_hyp() function name suggests we should unshare all the previously shared pages, otherwise we leak hyp-shared pages which won't be reusable for hyp memory. Fix the typo by calling __unshare_page() on the meta-page, ensuring all previously shared pages are correctly unshared. Fixes: 3aed038aac8d ("KVM: arm64: Add trace remote for the nVHE/pKVM hyp") Signed-off-by: Vincent Donnefort <vdonnefort@google.com> Link: https://patch.msgid.link/20260521124613.911067-2-vdonnefort@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions