From: Avi Kivity <avi@redhat.com>
To: "Gu, Zhongshu" <gzs715@gmail.com>
Cc: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>, kvm@vger.kernel.org
Subject: Re: Is there shadow page table cache during context switch?
Date: Sun, 11 Jul 2010 15:12:45 +0300 [thread overview]
Message-ID: <4C39B53D.30308@redhat.com> (raw)
In-Reply-To: <AANLkTikJHpp-MXMI4DaXidtvIPtkl5xUiNQe2bwDVw14@mail.gmail.com>
On 07/10/2010 04:11 PM, Gu, Zhongshu wrote:
>
> Thank you for your answer. There is another thing that i am not sure.
> Is there any mechanism in the kvm to make sure that it will zap the
> mmu root's pages if the process that use this root has terminated in
> the guest? Or does it just use kvm_mmu_free_some_pages to make sure
> that the number of free mmu pages is above the specified limit?
>
The root will not be zapped on process termination (kvm is not aware of
guest processes). However, if the page is written to several times
without being used, kvm will unshadow the page.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2010-07-11 12:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 19:27 Is there shadow page table cache during context switch? Gu, Zhongshu
2010-07-10 11:55 ` Xiao Guangrong
2010-07-10 13:11 ` Gu, Zhongshu
2010-07-11 12:12 ` Avi Kivity [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=4C39B53D.30308@redhat.com \
--to=avi@redhat.com \
--cc=gzs715@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=xiaoguangrong@cn.fujitsu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox