diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2017-09-13 13:08:18 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-09-15 16:57:10 +0200 |
commit | 8cd641e3c7cbf86c7cbd2a17a160dd137d86c860 (patch) | |
tree | 23ff1da546c321e16956cbc2456fc55fe7931008 /virt/kvm | |
parent | 3a8b0677fc6180a467e26cc32ce6b0c09a32f9bb (diff) | |
download | op-kernel-dev-8cd641e3c7cbf86c7cbd2a17a160dd137d86c860.zip op-kernel-dev-8cd641e3c7cbf86c7cbd2a17a160dd137d86c860.tar.gz |
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>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions