On Mon, 2024-08-19 at 10:08 +0300, Kirill A. Shutemov wrote: > init_transition_pgtable() sets up transitional page tables. Rewrite it > using kernel_ident_mapping_init() to avoid code duplication. > > Change struct kimage_arch to track allocated page tables as a list, not > linking them to specific page table levels. > > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> > Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx> > Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>