commit | 5726ce06ad6bcd8dd75a204d1465c99a2f897d3a | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue May 13 10:14:51 2014 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Jul 08 08:13:03 2014 -0700 |
tree | c3240a49d769fc49f0fee614f63c897ddce87f3b | |
parent | 4a81e8328d3791a4f99bf5b436d050f6dc5ffea3 [diff] |
documentation: Clarify wake-up/memory-barrier relationship This commit adds an example demonstrating that if a wake_up() doesn't actually wake something up, no memory ordering is provided. Reported-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com> Acked-by: Peter Zijlstra <peterz@infradead.org>