Commit 045f094a authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Gina Ko
Browse files

ANDROID: KVM: arm64: Convert kvm_pinned_pages to an interval-tree



Here we are, the last straw... the maple-tree is absolutely terrible for
what we need and it is time to get rid of it. With the upcoming set of
fixes for memory relinquish with huge-mappings, we need to be able to
split a pinned_page under the mmu write_lock. This is just too
complicated with the maple-tree while it is a piece of cake with an
interval tree.

Bug: 426090643
Bug: 419548963
Change-Id: I981b5d875085e1d2f7b4ebe2560c8b6ea3cbae88
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
(cherry picked from commit e56d1813)
Signed-off-by: default avatarGina Ko <yichunko@google.com>
[yichunko: fix merge conflict in abi_gki_aarch64.stg.allowed_breaks]
parent fbbc1d1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment