2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00

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:
Håkon Bugge 2025-06-27 12:50:33 +02:00 committed by Paul E. McKenney
parent 19272b37aa
commit 8817270042

View File

@ -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: