aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorQuentin Perret <[email protected]>2025-04-16 15:26:45 +0000
committerMarc Zyngier <[email protected]>2025-04-28 08:23:46 +0000
commit3390b3cbb613bc0822854f5754437cd1d1b3d5d0 (patch)
tree3fb3752ab861ab77e3e668db674b770ba54e596b /rust/helpers/task.c
parentKVM: arm64: Introduce {get,set}_host_state() helpers (diff)
downloadkernel-3390b3cbb613bc0822854f5754437cd1d1b3d5d0.tar.gz
kernel-3390b3cbb613bc0822854f5754437cd1d1b3d5d0.zip
KVM: arm64: Move hyp state to hyp_vmemmap
Tracking the hypervisor's ownership state into struct hyp_page has several benefits, including allowing far more efficient lookups (no page-table walk needed) and de-corelating the state from the presence of a mapping. This will later allow to map pages into EL2 stage-1 less proactively which is generally a good thing for security. And in the future this will help with tracking the state of pages mapped into the hypervisor's private range without requiring an alias into the 'linear map' range. Reviewed-by: Marc Zyngier <[email protected]> Signed-off-by: Quentin Perret <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions