Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] Export current_is_keventd() for libphy | Date | Wed, 06 Dec 2006 18:43:22 +0000 |
| |
Linus Torvalds <torvalds@osdl.org> wrote:
> (a) "volatile" on kernel data is basically always a bug, and you should > use locking.
But what about when you're building a lock? Actually, I suspect correct usage of asm constraints and memory barriers trumps volatile anyway even there.
David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |