Commit 2846906d authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

ANDROID: KVM: arm64: Check for existing pinned_pages before THP in pkvm_mem_abort



With the later introduction of the SPLIT request, we can expect to have
a level-3 mapping on the stage-2 where a level-2 is installed for the
stage-1. Also, part of the stage-2 might have been unmapped already. So
check for existing stage-2 mappings before checking for the stage-1
(transparent_hugepage_adjust()).

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