ANDROID: KVM: arm64: Micro-optimise module_change_host_page_prot
The API allowing modules to manipulate the host stage-2 page-table
can end up walking the memblock list and hyp_vmemmap multiple times.
Micro-optimise this path to limit duplicate work.
Bug: 357781595
Bug: 278749606
Bug: 322736772
Change-Id: Ia1c57e84ad979dc72ef93b2b5ed921f94a219448
Signed-off-by:
Quentin Perret <qperret@google.com>
Loading
Please sign in to comment