Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753865Ab0H0OIp (ORCPT ); Fri, 27 Aug 2010 10:08:45 -0400 Received: from cantor.suse.de ([195.135.220.2]:56702 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752766Ab0H0OIn (ORCPT ); Fri, 27 Aug 2010 10:08:43 -0400 From: Petr Tesarik Organization: SUSE LINUX, s.r.o. To: Hedi Berriche Subject: Re: Serious problem with ticket spinlocks on ia64 Date: Fri, 27 Aug 2010 16:09:14 +0200 User-Agent: KMail/1.9.10 Cc: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, Tony Luck References: <201008271537.35709.ptesarik@suse.cz> <20100827134802.GX18967@zorg.emea.sgi.com> In-Reply-To: <20100827134802.GX18967@zorg.emea.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201008271609.16099.ptesarik@suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1307 Lines: 35 On Friday 27 of August 2010 15:48:02 Hedi Berriche wrote: > On Fri, Aug 27, 2010 at 14:38 Petr Tesarik wrote: > | Hi everybody, > | > | SGI has recently experienced failures with the new ticket spinlock > | implementation. Hedi Berriche sent me a simple test case that can > | trigger the failure on the siglock. > > One more fact, the problem was introduced by commit > > commit 9d40ee200a527ce08ab8c793ba8ae3e242edbb0e > Author: Tony Luck > Date: Wed Oct 7 10:54:19 2009 -0700 > > [IA64] Squeeze ticket locks back into 4 bytes. > > Reverting the patch makes the problem go away. > > IOW, and as far as testing shows, the first incarnation of the ticket locks > implementation on IA64 (commit 2c8696), the one that used 8 bytes, does not > exhibit this problem. I wouldn't be so sure about it. Given that I have only observed the problem when the spinlock value wraps around, then an 8-byte spinlock might only need much more time to trigger the bug. Just my two cents, Petr Tesarik L3 International Novell, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/