From: Keir Fraser <keir.xen@gmail.com>
To: Xinxin Jin <xinxinjin89@gmail.com>, Xen-devel@lists.xen.org
Subject: Re: No need to flush TLB in do_mmu_update ?
Date: Fri, 17 May 2013 06:17:33 +0100 [thread overview]
Message-ID: <CDBB7BFD.52FAA%keir.xen@gmail.com> (raw)
In-Reply-To: <CAJJWZcwuZzeykQK4hrAbny4kcakLPxL8pb6+=z884pR9Hd0dKA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 657 bytes --]
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@gmail.com> 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
[-- Attachment #1.2: Type: text/html, Size: 1419 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2013-05-17 5:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 23:57 No need to flush TLB in do_mmu_update ? Xinxin Jin
2013-05-17 5:17 ` Keir Fraser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CDBB7BFD.52FAA%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=Xen-devel@lists.xen.org \
--cc=xinxinjin89@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.