From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: No need to flush TLB in do_mmu_update ? Date: Fri, 17 May 2013 06:17:33 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4014912371391639924==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xinxin Jin , Xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============4014912371391639924== Content-type: multipart/alternative; boundary="B_3451616260_10718582" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3451616260_10718582 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit 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" 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@lists.xen.org > http://lists.xen.org/xen-devel --B_3451616260_10718582 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable Re: [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 perfor= ms the flushes it needs only for its own safety.


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

H= i, I read the code of the hypercall handler do_mmu_update(), which updates g= uests' page table. I thought after update it should flush the old mapping fr= om relative TLB entry. However I didn't find any TLB flush operations in thi= s function. Could anyone explain what is the reason behind ? Thanks a lot !<= BR>
Xinxin


___________= ____________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel=
--B_3451616260_10718582-- --===============4014912371391639924== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4014912371391639924==--