From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265215AbUHMJa0 (ORCPT ); Fri, 13 Aug 2004 05:30:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265226AbUHMJa0 (ORCPT ); Fri, 13 Aug 2004 05:30:26 -0400 Received: from holomorphy.com ([207.189.100.168]:2706 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S265215AbUHMJaY (ORCPT ); Fri, 13 Aug 2004 05:30:24 -0400 Date: Fri, 13 Aug 2004 02:30:02 -0700 From: William Lee Irwin III To: Zwane Mwaikambo , Keith Owens , Linus Torvalds , Pavel Machek , Linux Kernel , Andrew Morton , Matt Mackall Subject: Re: [PATCH][2.6] Completely out of line spinlocks / i386 Message-ID: <20040813093002.GA11200@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Zwane Mwaikambo , Keith Owens , Linus Torvalds , Pavel Machek , Linux Kernel , Andrew Morton , Matt Mackall References: <23701.1092268910@ocs3.ocs.com.au> <20040812010115.GY11200@holomorphy.com> <20040812020424.GB11200@holomorphy.com> <20040812072058.GH11200@holomorphy.com> <20040813080116.GY11200@holomorphy.com> <20040813091640.GZ11200@holomorphy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040813091640.GZ11200@holomorphy.com> User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 13, 2004 at 01:01:16AM -0700, William Lee Irwin III wrote: >> Most of this is consolidating preempt_count()++ and preempt_count()-- >> when CONFIG_PREEMPT=y. Removing CONFIG_PREEMPT from the .config yields: >> text data bss dec hex filename >> mainline: 19973522 6607761 1878448 28459731 1b242d3 vmlinux >> cool: 19839487 6585707 1878448 28303642 1afe11a vmlinux >> C-func: 19923848 6582771 1878384 28385003 1b11eeb vmlinux On Fri, Aug 13, 2004 at 02:16:40AM -0700, William Lee Irwin III wrote: > Reinlining spin_unlock() yields: > unlock: 19895498 6582746 1878384 28356628 1b0b014 vmlinux Reinlining spin_unlock_irq() also yields: unlock-irq: 19889858 6582721 1878384 28350963 1b099f3 vmlinux -- wli