Skip to contentSkip to conversation

Purpose of linear page tables

DISCUSSION Jacob Gorm Hansen 2 participants 2 messages Apr 2, 2005

lore
Share & tools
lore
#0 lore raw

hi,

now that Xen has writable page tables, I was wondering if there is any real need for the linear page tables in Xen? It seems some of the drivers still use them, but I imagine they could use the regular mmu_updates just as efficiently. Am I wrong?

Jacob

#1 lore raw
Quoted 1 line · Jacob Gorm Hansen

now that Xen has writable page tables, I was wondering if there is any real need for the linear page tables in Xen? It seems some of the drivers still use them, but I imagine they could use the regular mmu_updates just as efficiently. Am I wrong?

We use update_va_mapping() on demand fault paths as well, where it avoids us having to map_domain_mem() the pte in Xen. This would be less of an advantage on x86_64 where we'll have a 1:1 mapping of all memory anyway: but in that case linear address space is not so scarce. :-)

- Keir