Commit bff8bddb authored by Quentin Perret's avatar Quentin Perret Committed by Keir Fraser
Browse files

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: default avatarQuentin Perret <qperret@google.com>
parent 6a8665a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment