From: Tim Deegan Subject: Re: [PATCH] x86/p2m: also clear defer_nested_flush on error Date: Thu, 24 Apr 2014 13:35:13 +0200 Message-ID: <20140424113513.GB54145@deinos.phlegethon.org> References: <534D59DF02000078000090A1@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WdHvw-0002ei-47 for xen-devel@lists.xenproject.org; Thu, 24 Apr 2014 11:35:16 +0000 Content-Disposition: inline In-Reply-To: <534D59DF02000078000090A1@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 At 15:10 +0100 on 15 Apr (1397571007), Jan Beulich wrote: > While presumably benign (domain creation ought to fail when P2M setup > fails) let's be on the safe side and clear the flag as intended. And > actually, the code can be streamlined quite a bit by recognizing that > the only difference between the success and error cases is the message > printed in each case. With that, a stray spin_unlock() also goes away. > > Signed-off-by: Jan Beulich Applied, thanks. Tim.