summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/pkeys.c
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2022-11-10 19:02:53 +0000
committerMarc Zyngier <maz@kernel.org>2022-11-11 17:18:58 +0000
commitf41dff4efb918db68923a826e966ca62c7c8e929 (patch)
tree066dfafdfe64e20b689809729de4d34b69da317d /arch/x86/mm/pkeys.c
parent60dfe093ec13b056856c672e1daa35134be38283 (diff)
downloadlinux-f41dff4efb918db68923a826e966ca62c7c8e929.tar.bz2
KVM: arm64: Return guest memory from EL2 via dedicated teardown memcache
Rather than relying on the host to free the previously-donated pKVM hypervisor VM pages explicitly on teardown, introduce a dedicated teardown memcache which allows the host to reclaim guest memory resources without having to keep track of all of the allocations made by the pKVM hypervisor at EL2. Tested-by: Vincent Donnefort <vdonnefort@google.com> Co-developed-by: Fuad Tabba <tabba@google.com> Signed-off-by: Fuad Tabba <tabba@google.com> Signed-off-by: Quentin Perret <qperret@google.com> Signed-off-by: Will Deacon <will@kernel.org> [maz: dropped __maybe_unused from unmap_donated_memory_noclear()] Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221110190259.26861-21-will@kernel.org
Diffstat (limited to 'arch/x86/mm/pkeys.c')
0 files changed, 0 insertions, 0 deletions