On 02.09.2026 11:43, George Dunlap wrote: > From: Roger Pau Monné <[email protected]> > > There are no remaining users of the stashed L1 page-tables in > pv_domain.gdt_ldt_l1tab. Remove it, and all helpers. This removes a > globally-mapped xenheap allocation, and sets the stage for per-vCPU > root page tables. > > pv_create_gdt_ldt_l1tab() now passes NIL() rather than the stash > array. This will cause create_perdomain_mapping() to still eagerly > allocate the L1 tables covering the GDT/LDT range; but their addresses > are no longer handed back. Doing this is necessary because > populate_perdomain_mapping() only fills existing tables, and treats > missing structure as a bug. > > Another side effect of passing NIL() rather than a pointer is that the > L1 tables move from the xenheap to the domheap. Residing in the > xenheap was only ever a requirement when the stashed pointer had to > stay usable; with that requirement dropped, we can relax the > allocation requirement as well. > > Signed-off-by: Roger Pau Monné <[email protected]> > Assisted-by: Claude Code:claude-fable-5 > Signed-off-by: George Dunlap <[email protected]>
Reviewed-by: Jan Beulich <[email protected]>
