All of lore.kernel.org
 help / color / mirror / Atom feed
* Bulk pagetable unmap
@ 2009-03-09 16:29 Mick Jordan
  2009-03-09 17:12 ` Mark Williamson
  2009-03-09 17:52 ` Keir Fraser
  0 siblings, 2 replies; 3+ messages in thread
From: Mick Jordan @ 2009-03-09 16:29 UTC (permalink / raw)
  To: xen-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bulk pagetable unmap
  2009-03-09 16:29 Bulk pagetable unmap Mick Jordan
@ 2009-03-09 17:12 ` Mark Williamson
  2009-03-09 17:52 ` Keir Fraser
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Williamson @ 2009-03-09 17:12 UTC (permalink / raw)
  To: xen-devel, Mick.Jordan

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

On Monday 09 March 2009 16:29:18 Mick Jordan wrote:
> 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.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bulk pagetable unmap
  2009-03-09 16:29 Bulk pagetable unmap Mick Jordan
  2009-03-09 17:12 ` Mark Williamson
@ 2009-03-09 17:52 ` Keir Fraser
  1 sibling, 0 replies; 3+ messages in thread
From: Keir Fraser @ 2009-03-09 17:52 UTC (permalink / raw)
  To: Mick.Jordan@sun.com, xen-devel@lists.xensource.com

On 09/03/2009 16:29, "Mick Jordan" <Mick.Jordan@sun.com> wrote:

> 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);

You'll have to do a multicall of HYPERVISOR_mmu_update followed by
HYPERVISOR_mmuext_op.

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-09 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 16:29 Bulk pagetable unmap Mick Jordan
2009-03-09 17:12 ` Mark Williamson
2009-03-09 17:52 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.