mirror of https://github.com/torvalds/linux.git
docs/memory-barriers.txt: Add wait_event_cmd() and wait_event_exclusive_cmd()
Add said functions to Documentation/memory-barriers.txt.
Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
--
v1 -> v2:
* Changed the prosaic part to kernel-doc style and moved it to
include/linux/wait.h in another commit
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
19272b37aa
commit
8817270042
|
|
@ -2192,6 +2192,8 @@ interpolate the memory barrier in the right place:
|
|||
wait_event_timeout();
|
||||
wait_on_bit();
|
||||
wait_on_bit_lock();
|
||||
wait_event_cmd();
|
||||
wait_event_exclusive_cmd();
|
||||
|
||||
|
||||
Secondly, code that performs a wake up normally follows something like this:
|
||||
|
|
|
|||
Loading…
Reference in New Issue