public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Cc: mtosatti@redhat.com, kvm@vger.kernel.org
Subject: Re: [PATCH 1/1] KVM: x86: avoid unnecessary bitmap allocation when memslot is clean
Date: Wed, 28 Apr 2010 13:26:43 +0300	[thread overview]
Message-ID: <4BD80D63.2090600@redhat.com> (raw)
In-Reply-To: <4BD6EACF.6070205@oss.ntt.co.jp>

On 04/27/2010 04:46 PM, Takuya Yoshikawa wrote:
> (2010/04/27 22:18), Avi Kivity wrote:
>
>>> Furthermore, the reduced allocations seem to produce good effects for
>>> other cases too. Actually, I observed that the time for the ioctl was
>>> more stable than the original one and the average time for dirty slots
>>> was also reduced by some extent.
>>
>> Can you explain why the dirty slots were improved?
>
> I cannot do exactly, but vmalloc() might affect the following 
> allocations?
>
> But actually, I could check how much one vmalloc() consumed our time,
> and this will be completely removed by our "moving dirty bitmaps to 
> user space".
>
>
> Better to remove this explanation about dirty slots?

I guess so.

>
> BTW, maybe good news for us!
>
> 1. I found one place in which set_bit_to_user() is locally defined using
> current helpers.

Interesting, where?

-- 
error compiling committee.c: too many arguments to function


  parent reply	other threads:[~2010-04-28 11:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26  9:56 [PATCH 0/1] KVM: x86: avoid unnecessary bitmap allocation when memslot is clean Takuya Yoshikawa
2010-04-26  9:58 ` [PATCH 1/1] " Takuya Yoshikawa
2010-04-27 12:36   ` Marcelo Tosatti
2010-04-27 13:18   ` Avi Kivity
2010-04-27 13:46     ` Takuya Yoshikawa
2010-04-28  4:17       ` Takuya Yoshikawa
2010-04-28 10:27         ` Avi Kivity
2010-04-28 10:26       ` Avi Kivity [this message]
2010-04-28  9:50 ` [PATCH v2] " Takuya Yoshikawa
2010-05-04  9:36   ` Avi Kivity

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=4BD80D63.2090600@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=yoshikawa.takuya@oss.ntt.co.jp \
    /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