From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH 1/2] x86/xen: Set EFER.NX and EFER.SCE in PVH guests Date: Mon, 08 Sep 2014 07:49:04 +0100 Message-ID: <540D6D800200007800031D14@mail.emea.novell.com> References: <1409926309-8345-1-git-send-email-david.vrabel@citrix.com> <1409926309-8345-2-git-send-email-david.vrabel@citrix.com> <5409E6200200007800031869@mail.emea.novell.com> <5409CCB0.3070402@citrix.com> <5409FB230200007800031912@mail.emea.novell.com> <5409E30C.60300@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XQslB-0001sv-Lw for xen-devel@lists.xenproject.org; Mon, 08 Sep 2014 06:49:09 +0000 In-Reply-To: <5409E30C.60300@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: David Vrabel Cc: xen-devel@lists.xenproject.org, Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org >>> On 05.09.14 at 18:21, wrote: > On 05/09/14 17:04, Jan Beulich wrote: >>>>> On 05.09.14 at 16:46, wrote: >>> There's no usable stack until EFER.NX is set. I couldn't think of a way >>> to write this in C that would guarantee no stack use, so I didn't >>> suggest it. >>> >>> Can you think of a way? >> >> No stack use is a very convincing argument for using assembly? > > Is that question mark a typo? If not, I'm not really sure how to answer. Yes, it is. I'm sorry for the confusion. Jan