From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] x86: fix wait code asm() constraints Date: Fri, 03 Aug 2012 13:54:29 +0100 Message-ID: References: <501BDD05020000780009284B@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <501BDD05020000780009284B@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 03/08/2012 13:15, "Jan Beulich" wrote: >> Yep, okay, that makes sense. Especially the use of an input operand to form >> a memory address, although of course that cannot happen in our specific case >> here. I have acked your patch, although I'd like an update to the patch >> comment. > > How about this as an added initial paragraph? > > This fixes theoretical issues with those constraints - operands that > get clobbered before consuming all input operands must be marked so > according the the gcc documentation. Beyond that, the change is merely > code improvement, not a bug fix. Perfect! K.