Re: [rfc] [patch 1/2] spin_lock_irq: Enable interrupts whilespinning -- preperatory patch

From: Andrew Morton
Date: Wed Jan 03 2007 - 03:17:41 EST


On Tue, 2 Jan 2007 23:59:23 -0800
Ravikiran G Thirumalai <kiran@xxxxxxxxxxxx> wrote:

> The following patches do just that. The first patch is preparatory in nature
> and the second one changes the x86_64 implementation of spin_lock_irq.
> Patch passed overnight runs of kernbench and dbench on 4 way x86_64 smp.

The end result of this is, I think, that i386 enables irqs while spinning
in spin_lock_irqsave() but not while spinning in spin_lock_irq(). And
x86_64 does the opposite.

Odd, isn't it?
-
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/