Commit f3fe2e66 authored by Will Deacon's avatar Will Deacon Committed by Treehugger Robot
Browse files

ANDROID: KVM: arm64: Adjust PSCI MEM_PROTECT refcount across share/unshare



When a protected guest shares or unshares a page with the host, we
should decrement and increment the PSCI MEM_PROTECT refcount respectively
since shared pages do not require poisoning on the reclaim path and will
therefore not be accounted for.

Bug: 258425493
Reported-by: default avatarQuentin Perret <qperret@google.com>
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Change-Id: I80a4fad44de4313c6708a8259a1802ded379f03b
parent e7b635a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment