From: "Jan Beulich" Subject: Re: [PATCH] fix locking in cpu_disable_scheduler() Date: Tue, 29 Oct 2013 07:39:44 +0000 Message-ID: <526F745002000078000FD760@nat28.tlf.novell.com> References: <526E994E02000078000FD571@nat28.tlf.novell.com> <526E8FAE.9030205@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vb3u1-0003AC-5U for xen-devel@lists.xenproject.org; Tue, 29 Oct 2013 07:39:49 +0000 In-Reply-To: <526E8FAE.9030205@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: Andrew Cooper Cc: George Dunlap , xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 28.10.13 at 17:24, Andrew Cooper wrote: > One comment however. With the unlock_irqrestore functions, having the > cpu and flags parameters reversed wrt the lock_irqsave looks funny. As > this new interface is still very new, would it be worth moving the flags > parameter to the end of unlock_irqrestore() for consistency ? Actually I intentionally did it this way - the (v)CPU parameter is a helper one only (unused when NDEBUG is defined), and as such didn't seem to be appropriate to be put at a more prominent place. Jan