Commit 93942645 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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()
parents b1c21075 88172700
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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: