Re: [PATCH][2.6] Completely out of line spinlocks / i386

From: William Lee Irwin III
Date: Fri Aug 13 2004 - 04:50:49 EST


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

On Fri, Aug 13, 2004 at 02:30:02AM -0700, William Lee Irwin III wrote:
> Reinlining spin_unlock_irq() also yields:
> unlock-irq: 19889858 6582721 1878384 28350963 1b099f3 vmlinux

Reinlining read_unlock() also yields:
read-unlock: 19883858 6582674 1878384 28344916 1b08254 vmlinux


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/