Commit 5d9808b9 authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Treehugger Robot
Browse files

ANDROID: KVM: arm64: THP support for pKVM guests



When a pKVM stage-2 guest fault happens, if it is within the remits of a
transparent huge page at stage-1, that entire page is pinned and we can
map the entire range of that page at stage-2. The hypervisor in return
installs a block mapping. This reduce TLB pressure and the number of
faults.

Bug: 278749606
Bug: 278011447
Change-Id: I8ba253134007ba31c39d243130384ac602c0f92e
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
parent 54343dce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment