From: Rusty Russell <rusty@rustcorp.com.au>
To: Avi Kivity <avi@qumranet.com>
Cc: lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
virtualization <virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH] lguest: disable SYSENTER for guests
Date: Thu, 12 Jul 2007 18:30:34 +1000 [thread overview]
Message-ID: <1184229034.6005.780.camel@localhost.localdomain> (raw)
In-Reply-To: <4695DCAD.70507@qumranet.com>
On Thu, 2007-07-12 at 10:47 +0300, Avi Kivity wrote:
> Rusty Russell wrote:
> But what kind of daredevil coder would propose such a thing?)
>
> Ah, so this is why you want ->next in preempt hooks. Well, my plan for
> this sort of thing (for kvm has the same issues with the *STAR family of
> msrs) is to add a new hook on switching from kernel to userspace, and
> swap those msrs there. This allows not only the guest1->guest2 case to
> be optimized, but also guest->kthread->guest, which is a common pattern
> with I/O (and very common with -rt, which runs interrupts in threads).
Adding instructions to the syscall path is not going to make you
popular. But if you do it, I'll use it 8)
Thanks,
Rusty.
next prev parent reply other threads:[~2007-07-12 8:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 7:16 [PATCH] lguest: disable SYSENTER for guests Rusty Russell
2007-07-12 7:47 ` Avi Kivity
2007-07-12 8:30 ` Rusty Russell [this message]
2007-07-12 8:30 ` Rusty Russell
2007-07-12 7:47 ` Avi Kivity
-- strict thread matches above, loose matches on Subject: below --
2007-07-12 7:16 Rusty Russell
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=1184229034.6005.780.camel@localhost.localdomain \
--to=rusty@rustcorp.com.au \
--cc=akpm@linux-foundation.org \
--cc=avi@qumranet.com \
--cc=linux-kernel@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.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.