From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH v2 1/2] x86: defer processing events on the NMI exit path Date: Fri, 01 Mar 2013 15:56:16 +0000 Message-ID: References: <5130A4E002000078000C2557@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5130A4E002000078000C2557@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 , Andrew Cooper Cc: Malcolm Crossley , "Tim (Xen.org)" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 01/03/2013 11:53, "Jan Beulich" wrote: >> __softirq_pending is an unsigned long. Would it not be prudent to use >> cmpq to save obscure bugs if the implementation changes, or are we >> sufficiently sure that this wont happen? > > All other existing instances of similar assembly code use testl or > cmpl, and in fact I merely copied some other instance. > > As we're not getting close to 32, I think we might rather want to > adjust the __softirq_pending type. Keir? Yup, I don't see any reason why it couldn't be a uint32_t. -- Keir