summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHåkon Bugge <haakon.bugge@oracle.com>2025-06-27 12:50:33 +0200
committerPaul E. McKenney <paulmck@kernel.org>2025-07-09 10:08:14 -0700
commit88172700423c27c0123fdb05b8c4a62444cfcba2 (patch)
tree3e71ff230eb990449b270d18ce114436e20285b0
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
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>
-rw-r--r--Documentation/memory-barriers.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt
index 93d58d9a428b..1d164e005776 100644
--- a/Documentation/memory-barriers.txt
+++ b/Documentation/memory-barriers.txt
@@ -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: