[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] No need to flush TLB in do_mmu_update ?


  • To: Xinxin Jin <xinxinjin89@xxxxxxxxx>, <Xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Fri, 17 May 2013 06:17:33 +0100
  • Delivery-date: Fri, 17 May 2013 05:18:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac5SvdXT9bzssvvTZUyqrYAE8QqaPw==
  • Thread-topic: [Xen-devel] No need to flush TLB in do_mmu_update ?

It is up to the guest to request the TLB flushes that it needs. Xen performs the flushes it needs only for its own safety.


On 17/05/2013 00:57, "Xinxin Jin" <xinxinjin89@xxxxxxxxx> wrote:

Hi, I read the code of the hypercall handler do_mmu_update(), which updates guests' page table. I thought after update it should flush the old mapping from relative TLB entry. However I didn't find any TLB flush operations in this function. Could anyone explain what is the reason behind ? Thanks a lot !

Xinxin


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.