FROMLIST: KVM: arm64: pkvm: Refcount the pages shared with EL2
In order to simplify the page tracking infrastructure at EL2 in nVHE protected mode, move the responsibility of refcounting pages that are shared multiple times on the host. In order to do so, let's create a red-black tree tracking all the PFNs that have been shared, along with a refcount. Signed-off-by:Quentin Perret <qperret@google.com> Link: https://lore.kernel.org/r/20211201170411.1561936-9-qperret@google.com Bug: 209599700 Change-Id: I11dc907d139ba314247fb42e8702a6e80c55c054
Loading
Please sign in to comment