Bulk pagetable unmap
Is it possible to use HYPERVISOR_mmu_update to unmap an area of the virtual address range and achieve the TLB update at the same time. I.e., a bulk version of:
return HYPERVISOR_update_va_mapping(addr), val,
(unsigned long)UVMF_ALL | UVMF_INVLPG);Mick.
P.S. What happened to the developer manual for 3.3? The xen.org site only shows a user manual.
I've only ever known this done by batching multiple hypercalls using a multicall - saves multiple Guest<->Xen transitions, which I assume is what you are aiming for? Would that do for your purposes?
Cheers,
Mark
Quoted 17 lines · On Monday 09 March 2009 16:29:18 Mick Jordan wrote:
Is it possible to use
HYPERVISOR_mmu_updateto unmap an area of the virtual address range and achieve the TLB update at the same time. I.e., a bulk version of:return
HYPERVISOR_update_va_mapping(addr), val,
(unsigned long)UVMF_ALL |UVMF_INVLPG);Mick.
P.S. What happened to the developer manual for 3.3? The xen.org site only shows a user manual._______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 6 lines · Mick Jordan
Is it possible to use
HYPERVISOR_mmu_updateto unmap an area of the virtual address range and achieve the TLB update at the same time. I.e., a bulk version of:return
HYPERVISOR_update_va_mapping(addr), val,
(unsigned long)UVMF_ALL |UVMF_INVLPG);
You'll have to do a multicall of HYPERVISOR_mmu_update followed by HYPERVISOR_mmuext_op.
Quoted 4 lines
Mick.
P.S. What happened to the developer manual for 3.3? The xen.org site only shows a user manual.
There's no actively maintained developer manual.
-- Keir