Re: [PATCH v2 1/1] docs/memory-barriers.txt: Add wait_event_cmd() and wait_event_exclusive_cmd()
"Paul E. McKenney" <[email protected]> Tue, 8 Jul 2025 15:59:20 -0700
| Newsgroups | dev.linux.lists.lkmm,org.kernel.vger.linux-arch,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <60e29735-7359-4ef8-841a-fd5714404cf0@paulmck-laptop> |
On Fri, Jun 27, 2025 at 12:50:33PM +0200, HÃ¥kon Bugge wrote: > Add said functions to Documentation/memory-barriers.txt. > > Signed-off-by: HÃ¥kon Bugge <[email protected]> Seeing no objections, I have queued this, thank you! Thanx, Paul > -- > > v1 -> v2: > * Changed the prosaic part to kernel-doc style and moved it to > include/linux/wait.h in another commit > --- > Documentation/memory-barriers.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt > index 93d58d9a428b8..1d164e0057769 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: > -- > 2.43.5 >