[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y3VGd4f/nk7r+Eoc@hirez.programming.kicks-ass.net>
Date: Wed, 16 Nov 2022 21:22:15 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Gabriel Krisman Bertazi <krisman@...e.de>
Cc: axboe@...nel.dk, mingo@...hat.com, jack@...e.cz,
linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
liusong@...ux.alibaba.com, chaitanyak@...dia.com
Subject: Re: [PATCH 2/3] wait: Return number of exclusive waiters awaken
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@...e.cz>
> Signed-off-by: Gabriel Krisman Bertazi <krisman@...e.de>
Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
> ---
> include/linux/wait.h | 2 +-
> kernel/sched/wait.c | 18 +++++++++++-------
> 2 files changed, 12 insertions(+), 8 deletions(-)
Powered by blists - more mailing lists