All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.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 16:40:45 +0300	[thread overview]
Message-ID: <4A82C65D.7010007@redhat.com> (raw)
In-Reply-To: <4A82C06B.10400@us.ibm.com>

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).

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


  reply	other threads:[~2009-08-12 13:40 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 [this message]
2009-08-12 13:50         ` Anthony Liguori

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=4A82C65D.7010007@redhat.com \
    --to=avi@redhat.com \
    --cc=aliguori@us.ibm.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 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.