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/
- Follow-Ups:
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- References:
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Linus Torvalds <torvalds@osdl.org>
- [PATCH] Export current_is_keventd() for libphy
- From: Ben Collins <ben.collins@ubuntu.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: "Maciej W. Rozycki" <macro@linux-mips.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andy Fleming <afleming@freescale.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Roland Dreier <rdreier@cisco.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: "Maciej W. Rozycki" <macro@linux-mips.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: David Howells <dhowells@redhat.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- Prev by Date: work_struct-induced breakage, part 1 of fsck-knows-how-many
- Next by Date: Re: Display class
- Previous by thread: Re: [PATCH] Export current_is_keventd() for libphy
- Next by thread: Re: [PATCH] Export current_is_keventd() for libphy
- Index(es):
![]() |