diff options
author | David Howells <dhowells@redhat.com> | 2009-04-28 15:01:38 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 14:15:55 +0200 |
commit | 50fa610a3b6ba7cf91d7a92229177dfaff2b81a1 (patch) | |
tree | 0369fc3269a18f8d2ffcedaebe4ac875bbe9870c /drivers/base/core.c | |
parent | 56a50adda49b2020156616c4eb15353e0f9ad7de (diff) | |
download | op-kernel-dev-50fa610a3b6ba7cf91d7a92229177dfaff2b81a1.zip op-kernel-dev-50fa610a3b6ba7cf91d7a92229177dfaff2b81a1.tar.gz |
sched: Document memory barriers implied by sleep/wake-up primitives
Add a section to the memory barriers document to note the implied
memory barriers of sleep primitives (set_current_state() and wrappers)
and wake-up primitives (wake_up() and co.).
Also extend the in-code comments on the wake_up() functions to note
these implied barriers.
[ Impact: add documentation ]
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <20090428140138.1192.94723.stgit@warthog.procyon.org.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/base/core.c')
0 files changed, 0 insertions, 0 deletions