Commit b43baa77 authored by Keir Fraser's avatar Keir Fraser
Browse files

ANDROID: KVM: arm64: Optimise module_change_host_page_prot



Merge the relaxation and restriction paths to both only need to adjust
permissions. This avoids un-map + re-map on the restriction path; and
avoids installing an annotated entry on the relaxation path (which
will cause a translation fault on first access by the host).

Bug: 308373293
Change-Id: I9c7a6ac149aad64b19a5ce7808334188475b27cc
Signed-off-by: default avatarKeir Fraser <keirf@google.com>
parent dc87f352
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment