Re: AIM7 40% regression with 2.6.26-rc1
From: Linus Torvalds
Date: Tue May 06 2008 - 13:46:49 EST
On Tue, 6 May 2008, Andrew Morton wrote:
>
> down(), down_interruptible() and down_try() should use spin_lock_irq(), not
> irqsave.
down_trylock() is used in atomic code. See for example kernel/printk.c. So
no, that one needs to be irqsafe.
Linus
--
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/