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

From: Sebastian Andrzej Siewior
Date: Fri Mar 20 2020 - 05:20:05 EST


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