From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbdJKL34 (ORCPT ); Wed, 11 Oct 2017 07:29:56 -0400 Received: from merlin.infradead.org ([205.233.59.134]:42954 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750705AbdJKL3z (ORCPT ); Wed, 11 Oct 2017 07:29:55 -0400 Date: Wed, 11 Oct 2017 13:29:46 +0200 From: Peter Zijlstra To: Paolo Bonzini Cc: Davidlohr Bueso , mingo@redhat.com, npiggin@gmail.com, paulmck@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, Davidlohr Bueso Subject: Re: [PATCH 1/6] sched/wait: Add swq_has_sleepers() Message-ID: <20171011112946.bowgybjmhmpcqqek@hirez.programming.kicks-ass.net> References: <20170905190022.1474-1-dave@stgolabs.net> <20170905190022.1474-2-dave@stgolabs.net> <20171011082749.7z23viezxyds2utx@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 11, 2017 at 01:21:47PM +0200, Paolo Bonzini wrote: > On 11/10/2017 10:27, Peter Zijlstra wrote: > > On Tue, Sep 05, 2017 at 12:00:17PM -0700, Davidlohr Bueso wrote: > >> Which is the equivalent of what we have in regular waitqueues. > >> I'm not crazy about the name, but this also helps us get both > >> apis closer -- which iirc comes originally from the -net folks. > > > > I'm confused. I don't see anything like this in the original waitqueue. > > > > /** > * wq_has_sleeper - check if there are any waiting processes Bah, clearly my grep-fu isn't strong today :/