From: David Howells Date: Tue, 28 Apr 2009 14:01:38 +0000 (+0100) Subject: sched: Document memory barriers implied by sleep/wake-up primitives X-Git-Tag: v2.6.31-rc1~420^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50fa610a3b6ba7cf91d7a92229177dfaff2b81a1;p=pandora-kernel.git 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 Cc: Oleg Nesterov Cc: Linus Torvalds Cc: Andrew Morton LKML-Reference: <20090428140138.1192.94723.stgit@warthog.procyon.org.uk> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed