Re: [PATCH] i386 spinlocks should use the full 32 bits, not only 8bits
From: Linus Torvalds
Date: Thu Oct 20 2005 - 16:57:49 EST
On Thu, 20 Oct 2005, Ingo Molnar wrote:
>
> +/*
> + * We inline the unlock functions in the nondebug case:
> + */
> +#ifdef CONFIG_DEBUG_SPINLOCK
That can't be right. What about preemption etc?
There's a lot more to spin_unlock() than just the debugging stuff.
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/