From: Marcelo Tosatti <mtosatti@redhat.com>
To: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Cc: Avi Kivity <avi@redhat.com>, kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: Fix mmu shrinker error
Date: Tue, 27 Apr 2010 11:40:39 -0300 [thread overview]
Message-ID: <20100427144039.GA23249@amt.cnet> (raw)
In-Reply-To: <4BD64E75.5050007@cn.fujitsu.com>
On Tue, Apr 27, 2010 at 10:39:49AM +0800, Gui Jianfeng wrote:
> kvm_mmu_remove_one_alloc_mmu_page() assumes kvm_mmu_zap_page() only reclaims
> only one sp, but that's not the case. This will cause mmu shrinker returns
> a wrong number. This patch fix the counting error.
>
> Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
> ---
> arch/x86/kvm/mmu.c | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
Applied, thanks.
prev parent reply other threads:[~2010-04-27 14:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-27 2:39 [PATCH] KVM: Fix mmu shrinker error Gui Jianfeng
2010-04-27 14:40 ` Marcelo Tosatti [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=20100427144039.GA23249@amt.cnet \
--to=mtosatti@redhat.com \
--cc=avi@redhat.com \
--cc=guijianfeng@cn.fujitsu.com \
--cc=kvm@vger.kernel.org \
/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