From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762635AbXGPJ07 (ORCPT ); Mon, 16 Jul 2007 05:26:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755945AbXGPJ0w (ORCPT ); Mon, 16 Jul 2007 05:26:52 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:44772 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754978AbXGPJ0v (ORCPT ); Mon, 16 Jul 2007 05:26:51 -0400 Date: Mon, 16 Jul 2007 11:26:46 +0200 From: Ingo Molnar To: Nick Piggin Cc: Andi Kleen , Linus Torvalds , Linux Kernel Mailing List Subject: Re: [rfc][patch 2/2] x86_64: FIFO ticket spinlocks Message-ID: <20070716092646.GA18423@elte.hu> References: <20070716045932.GA19914@wotan.suse.de> <20070716050134.GB19914@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070716050134.GB19914@wotan.suse.de> User-Agent: Mutt/1.5.14 (2007-02-12) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.0.3 -1.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * Nick Piggin wrote: > [...] trylock is more significantly slower, but they are relatively > rare. trylock is the main thing that the spinlock debugging code uses, and SPINLOCK_DEBUG is frequently enabled by distro kernels. OTOH, the cost looks like to be +5 instructions, right? Still ... Ingo