Davidlohr Bueso 8cd641e3c7 sched/wait: Add swq_has_sleeper()
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.

We also duplicate the comments for the lockless swait_active(),
from wait.h. Future users will make use of this interface.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-09-15 16:57:10 +02:00
..
2017-09-07 14:33:13 -07:00
2017-09-15 16:57:10 +02:00
2017-09-07 12:53:14 -07:00
2017-08-31 08:35:14 -04:00
2017-09-07 12:12:43 -07:00
2017-09-07 12:44:53 -07:00
2017-09-08 15:18:36 -07:00
2017-08-31 09:45:55 -04:00