On Tue, Nov 15, 2022 at 05:45:52PM -0500, Gabriel Krisman Bertazi wrote: > Sbitmap code will need to know how many waiters were actually woken for > its batched wakeups implementation. Return the number of woken > exclusive waiters from __wake_up() to facilitate that. > > Suggested-by: Jan Kara <jack@xxxxxxx> > Signed-off-by: Gabriel Krisman Bertazi <krisman@xxxxxxx> Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> > --- > include/linux/wait.h | 2 +- > kernel/sched/wait.c | 18 +++++++++++------- > 2 files changed, 12 insertions(+), 8 deletions(-)