From: Anthony Liguori <aliguori@us.ibm.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org, Gleb Natapov <gleb@redhat.com>
Subject: Re: [PATCH] When switching to a vm8086 task, load segments as 16-bit (v2)
Date: Wed, 12 Aug 2009 08:50:29 -0500 [thread overview]
Message-ID: <4A82C8A5.9070601@us.ibm.com> (raw)
In-Reply-To: <4A82C65D.7010007@redhat.com>
Avi Kivity wrote:
> On 08/12/2009 04:15 PM, Anthony Liguori wrote:
>> While the code looks nicer with the second patch, the fact that
>> get_rflags() does a vmcs_read() seems 7 times more than before seems
>> unfortunate.
>
> We can add kvm_rflags_read(), see kvm_cache_regs.h. In any case, it's
> purely academic since task switches are rare and incredibly slow
> anyway (you have to vmcs_write() the entire register set for one).
Fair enough.
--
Regards,
Anthony Liguori
prev parent reply other threads:[~2009-08-12 13:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 20:57 [PATCH] When switching to a vm8086 task, load segments as 16-bit (v2) Anthony Liguori
2009-08-12 7:47 ` Avi Kivity
2009-08-12 12:11 ` Avi Kivity
2009-08-12 12:36 ` Avi Kivity
2009-08-12 13:15 ` Anthony Liguori
2009-08-12 13:40 ` Avi Kivity
2009-08-12 13:50 ` Anthony Liguori [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=4A82C8A5.9070601@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=gleb@redhat.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