Move the on-demand allocation of the pae_root and lm_root pages, used by
nested NPT for 32-bit L1s, into a separate helper. This will allow a
future patch to hold mmu_lock while allocating the non-special roots so
that make_mmu_pages_available() can be checked once at the start of root
allocation,
On 05/03/21 02:10, Sean Christopherson wrote:
+ /*
+* This mess only works with 4-level paging and needs to be updated to
+* work with 5-level paging.
+*/
Planning for this, it's probably a good idea to rename lm_root to
pml4_root. Can be done on top.
Paolo
2 matches
Mail list logo