diff options
author | Quentin Perret <[email protected]> | 2022-11-10 19:02:53 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-11 17:18:58 +0000 |
commit | f41dff4efb918db68923a826e966ca62c7c8e929 (patch) | |
tree | 066dfafdfe64e20b689809729de4d34b69da317d /lib/mpi/mpi-sub-ui.c | |
parent | 60dfe093ec13b056856c672e1daa35134be38283 (diff) |
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 <[email protected]>
Co-developed-by: Fuad Tabba <[email protected]>
Signed-off-by: Fuad Tabba <[email protected]>
Signed-off-by: Quentin Perret <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
[maz: dropped __maybe_unused from unmap_donated_memory_noclear()]
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions