[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fbe816ac-8fe2-430e-aa68-15737da98ec5@amd.com>
Date: Fri, 30 May 2025 14:15:08 +0530
From: K Prateek Nayak <kprateek.nayak@....com>
To: Sean Christopherson <seanjc@...gle.com>,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>, Wei Liu <wei.liu@...nel.org>,
Dexuan Cui <decui@...rosoft.com>, Juergen Gross <jgross@...e.com>,
Stefano Stabellini <sstabellini@...nel.org>,
Paolo Bonzini <pbonzini@...hat.com>, Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>, Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>, Shuah Khan <shuah@...nel.org>,
Marc Zyngier <maz@...nel.org>, Oliver Upton <oliver.upton@...ux.dev>
Cc: linux-kernel@...r.kernel.org, linux-hyperv@...r.kernel.org,
xen-devel@...ts.xenproject.org, kvm@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
kvmarm@...ts.linux.dev, David Matlack <dmatlack@...gle.com>
Subject: Re: [PATCH v3 08/13] sched/wait: Add a waitqueue helper for fully
exclusive priority waiters
Hello Sean,
On 5/23/2025 5:22 AM, Sean Christopherson wrote:
> Add a waitqueue helper to add a priority waiter that requires exclusive
> wakeups, i.e. that requires that it be the _only_ priority waiter. The
> API will be used by KVM to ensure that at most one of KVM's irqfds is
> bound to a single eventfd (across the entire kernel).
>
> Open code the helper instead of using __add_wait_queue() so that the
> common path doesn't need to "handle" impossible failures.
>
> Cc: K Prateek Nayak <kprateek.nayak@....com>
Feel free to include:
Reviewed-by: K Prateek Nayak <kprateek.nayak@....com>
--
Thanks and Regards,
Prateek
> Signed-off-by: Sean Christopherson <seanjc@...gle.com>
> ---
> include/linux/wait.h | 2 ++
> kernel/sched/wait.c | 18 ++++++++++++++++++
> 2 files changed, 20 insertions(+)
> [..snip..]
Powered by blists - more mailing lists