All of lore.kernel.org
 help / color / mirror / Atom feed
* TLB flushing in x86's map_pages_to_xen()
@ 2007-05-15  7:20 Jan Beulich
  2007-05-15  7:45 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2007-05-15  7:20 UTC (permalink / raw)
  To: xen-devel

While I realize that the local-flush-only approach attempts to minimize overhead,
I have some difficulty understanding how this can properly deal with the effects
of speculation on remote processors. I believe this will get even worse when
considering cacheability changes, in which case it is not only an immediate TLB
flush that is needed, but also an immediate cache flush.

Thanks for any clarification, Jan

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

* Re: TLB flushing in x86's map_pages_to_xen()
  2007-05-15  7:20 TLB flushing in x86's map_pages_to_xen() Jan Beulich
@ 2007-05-15  7:45 ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2007-05-15  7:45 UTC (permalink / raw)
  To: Jan Beulich, xen-devel




On 15/5/07 08:20, "Jan Beulich" <jbeulich@novell.com> wrote:

> While I realize that the local-flush-only approach attempts to minimize
> overhead,
> I have some difficulty understanding how this can properly deal with the
> effects
> of speculation on remote processors. I believe this will get even worse when
> considering cacheability changes, in which case it is not only an immediate
> TLB
> flush that is needed, but also an immediate cache flush.

Map_pages_to_xen() is only used at start-of-day, except for memory-guarding
where TLB flushing isn't actually required for correctness. If it were used
during normal Xen execution for more sophisticated purposes then yes, more
consideration would need to be given for flushing processor state.

 -- Keir

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

end of thread, other threads:[~2007-05-15  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15  7:20 TLB flushing in x86's map_pages_to_xen() Jan Beulich
2007-05-15  7:45 ` 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.