lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/6] sched/wait: Add swq_has_sleepers()
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 :/

\
 
 \ /
  Last update: 2017-10-11 13:30    [W:0.034 / U:1.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site