On Thu, Sep 22, 2022, Ricardo Koller wrote: > Now that kvm_vm allows specifying different memslots for code, page tables, > and data, use the appropriate memslot when making allocations in > common/libraty code. Change them accordingly: > > - code (allocated by lib/elf) use the CODE memslot > - stacks, exception tables, and other core data pages (like the TSS in x86) > use the DATA memslot > - page tables and the PGD use the PT memslot > - test data (anything allocated with vm_vaddr_alloc()) uses the TEST_DATA > memslot > > No functional change intended. All allocators keep using memslot #0. > > Cc: Sean Christopherson <[email protected]> > Cc: Andrew Jones <[email protected]> > Signed-off-by: Ricardo Koller <[email protected]> > ---
Reviewed-by: Sean Christopherson <[email protected]> _______________________________________________ kvmarm mailing list [email protected] https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
