From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268263AbUHKWN0 (ORCPT ); Wed, 11 Aug 2004 18:13:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268266AbUHKWNZ (ORCPT ); Wed, 11 Aug 2004 18:13:25 -0400 Received: from fw.osdl.org ([65.172.181.6]:28131 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S268263AbUHKWNY (ORCPT ); Wed, 11 Aug 2004 18:13:24 -0400 Date: Wed, 11 Aug 2004 15:13:15 -0700 (PDT) From: Linus Torvalds To: Pavel Machek cc: Zwane Mwaikambo , Linux Kernel , Andrew Morton , Matt Mackall Subject: Re: [PATCH][2.6] Completely out of line spinlocks / i386 In-Reply-To: <20040811215915.GA21812@elf.ucw.cz> Message-ID: References: <20040811215915.GA21812@elf.ucw.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Aug 2004, Pavel Machek wrote: > > Fine, so perhaps we do not want config option? The inline spinlocks are _wonderful_ for seeing where the contention is in a simple profile. In contrast, in a profile the out-of-lines ones will show "x% was spent on spinlocks". Which doesn't help much when you want to see where the problem is. This was _hugely_ useful, at least for me, for seeing what locks were problematic. Linus