summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2025-07-29 15:54:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2025-07-29 15:54:07 -0700
commit93942645c44f1ed4e834d162ae5ad9fb7ef07213 (patch)
tree3ac0e46c9e674f0e8c99e88d00fdea53d015ae2a
parentb1c21075d30c40762750be0cded9822791df422b (diff)
parent88172700423c27c0123fdb05b8c4a62444cfcba2 (diff)
Merge tag 'lkmm.2025.07.23a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
Pull lkmm documentation update from Paul McKenney: - Add wait_event_cmd() and wait_event_exclusive_cmd() to the list of wait primitives that provide the needed memory barriers (HÃ¥kon Bugge) * tag 'lkmm.2025.07.23a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu: docs/memory-barriers.txt: Add wait_event_cmd() and wait_event_exclusive_cmd()
-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: