From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Northup Subject: Re: [PATCH 06/13] x86/ticketlock: add slowpath logic Date: Fri, 2 Sep 2011 11:46:08 -0700 Message-ID: References: <8a788f3fbf2ad1316e462bf5aae623bab9d38319.1314922370.git.jeremy.fitzhardinge@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <8a788f3fbf2ad1316e462bf5aae623bab9d38319.1314922370.git.jeremy.fitzhardinge@citrix.com> Sender: kvm-owner@vger.kernel.org To: Jeremy Fitzhardinge Cc: "H. Peter Anvin" , Linus Torvalds , Peter Zijlstra , Ingo Molnar , the arch/x86 maintainers , Linux Kernel Mailing List , Nick Piggin , Avi Kivity , Marcelo Tosatti , KVM , Andi Kleen , Xen Devel , Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org On Thu, Sep 1, 2011 at 5:54 PM, Jeremy Fitzhardinge w= rote: > From: Jeremy Fitzhardinge > > Maintain a flag in both LSBs of the ticket lock which indicates wheth= er > anyone is in the lock slowpath and may need kicking when the current > holder unlocks. =A0The flags are set when the first locker enters > the slowpath, and cleared when unlocking to an empty queue. Are there actually two flags maintained? I only see the one in the ticket tail getting set/cleared/tested.