From: "Jan Beulich" Subject: Re: [PATCH 1/3] x86: streamline hypercall_create_continuation() Date: Thu, 08 Jan 2015 16:11:47 +0000 Message-ID: <54AEBA530200007800052C8D@mail.emea.novell.com> References: <54AEAD2C0200007800052B56@mail.emea.novell.com> <54AEAEC10200007800052B79@mail.emea.novell.com> <54AEA9CE.9020606@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Y9Fgd-00069X-Hq for xen-devel@lists.xenproject.org; Thu, 08 Jan 2015 16:11:51 +0000 In-Reply-To: <54AEA9CE.9020606@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 08.01.15 at 17:01, wrote: > There appear to other many other places which could benifit from a > caching of guest_x86_mode() (especially in the nested virt case). Is it > worth considering unconditionally calculating on vmexit and removing the > function? If it's _only_ nested, then maybe not, But if there are at least a couple of uses in "normal" code, then maybe yes. Jan