Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'lkmm.2025.12.01a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu

Pull lkmm documentation update from Paul McKenney:

- Sort the memory-barriers.txt file's wait_event* and wait_on_bit* list
alphabetically

* tag 'lkmm.2025.12.01a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
memory-barriers.txt: Sort wait_event* and wait_on_bit* list alphabetically

+3 -3
+3 -3
Documentation/memory-barriers.txt
··· 2182 2182 2183 2183 which therefore also imply a general memory barrier after setting the state. 2184 2184 The whole sequence above is available in various canned forms, all of which 2185 - interpolate the memory barrier in the right place: 2185 + interpolate the memory barrier in the right place, for example: 2186 2186 2187 2187 wait_event(); 2188 + wait_event_cmd(); 2189 + wait_event_exclusive_cmd(); 2188 2190 wait_event_interruptible(); 2189 2191 wait_event_interruptible_exclusive(); 2190 2192 wait_event_interruptible_timeout(); ··· 2194 2192 wait_event_timeout(); 2195 2193 wait_on_bit(); 2196 2194 wait_on_bit_lock(); 2197 - wait_event_cmd(); 2198 - wait_event_exclusive_cmd(); 2199 2195 2200 2196 2201 2197 Secondly, code that performs a wake up normally follows something like this: