Re: [PATCH 19/15] sched/swait: Reword some of the main description

From
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date
2020-03-20 09:20:05
Also in
linux-pci, linux-wireless, linuxppc-dev, lkml, netdev
Reply to
Davidlohr Bueso, 2020-03-20
On 2020-03-20 01:55:27 [-0700], Davidlohr Bueso wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/linux/swait.h b/include/linux/swait.h
index 73e06e9986d4..6e5b5d0e64fd 100644
--- a/include/linux/swait.h
+++ b/include/linux/swait.h
@@ -39,7 +26,7 @@
  *    sleeper state.
  *
  *  - the !exclusive mode; because that leads to O(n) wakeups, everything is
- *    exclusive.
+ *    exclusive. As such swait_wake_up_one will only ever awake _one_ waiter.
                            swake_up_one()
  *  - custom wake callback functions; because you cannot give any guarantees
  *    about random code. This also allows swait to be used in RT, such that
Sebastian
Thread (72 messages) 72 messages, 17 authors, last reply 2020-03-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help