[PATCH 19/15] sched/swait: Reword some of the main description
Sebastian Andrzej Siewior
bigeasy at linutronix.de
Fri Mar 20 20:19:47 AEDT 2020
On 2020-03-20 01:55:27 [-0700], Davidlohr Bueso wrote:
> 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
More information about the Linuxppc-dev
mailing list