From: "Jan Beulich" Subject: Re: [PATCH] x86: fix MCE/NMI injection Date: Tue, 01 Dec 2009 11:00:50 +0000 Message-ID: <4B1505720200007800022D21@vpn.id2.novell.com> References: <4B14F1CA0200007800022CC6@vpn.id2.novell.com> <200912011139.25978.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200912011139.25978.Christoph.Egger@amd.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger Cc: Yunhong Jiang , xen-devel@lists.xensource.com, Liping Ke List-Id: xen-devel@lists.xenproject.org >>> Christoph Egger 01.12.09 11:39 >>> >Just a minor nit: your cmpxchgptr() implementation >looks very complicated and unreadable. Do you have suggestions for how to improve it without losing the type correctness checks? (And I really just cloned x86-64's cmpxchg(), so it shouldn't be that much worse than already existing code.) Jan