From: Tim Deegan Subject: Re: [PATCH] x86/mm: Fix operator associativity bug in mm-locks.h Date: Thu, 12 Jan 2012 16:41:16 +0000 Message-ID: <20120112164116.GH47092@ocelot.phlegethon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andres Lagar-Cavilla Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org At 11:20 -0500 on 12 Jan (1326367206), Andres Lagar-Cavilla wrote: > In an order-enforcing wrapper for an "external" recursive lock, > we aim to increment/decrement a recurse count and only update the > lock ordering on zero counts. > > Unfortunately we incrementing/decrementing the pointer to the > recurse count, rather than the count itself. Applied, thanks. Tim