From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxf7K-0001Mq-Mf for qemu-devel@nongnu.org; Wed, 15 Feb 2012 08:41:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rxf7E-0003wO-7T for qemu-devel@nongnu.org; Wed, 15 Feb 2012 08:41:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxf7D-0003vl-Rj for qemu-devel@nongnu.org; Wed, 15 Feb 2012 08:41:48 -0500 Message-ID: <4F3BB614.9040706@redhat.com> Date: Wed, 15 Feb 2012 15:41:40 +0200 From: Avi Kivity MIME-Version: 1.0 References: <4F2AB552.2070909@redhat.com> <4F2E80A7.5040908@redhat.com> <4F3025FB.1070802@codemonkey.ws> <4F31132F.3010100@redhat.com> <4F31408F.80901@codemonkey.ws> <4F314B2A.4000709@redhat.com> <4F314EEE.8080401@siemens.com> <4F314F87.60807@codemonkey.ws> <4F315161.3050304@siemens.com> In-Reply-To: <4F315161.3050304@siemens.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Next gen kvm api List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: KVM list , Rob Earhart , qemu-devel , linux-kernel On 02/07/2012 06:29 PM, Jan Kiszka wrote: > >>> > >> > >> Isn't there another level in between just scheduling and full syscall > >> return if the user return notifier has some real work to do? > > > > Depends on whether you're scheduling a kthread or a userspace process, no? If > > Kthreads can't return, of course. User space threads /may/ do so. And > then there needs to be a differences between host and guest in the > tracked MSRs. Right. Until we randomize kernel virtual addresses (what happened to that?) and then there will always be a difference, even if you run the same kernel in the host and guest. > I think to recall it's a question of another few hundred > cycles. Right. -- error compiling committee.c: too many arguments to function