]> Git Repo - linux.git/commit - drivers/vhost/vhost.h
vhost: introduce vhost_has_work()
authorJason Wang <[email protected]>
Fri, 4 Mar 2016 11:24:51 +0000 (06:24 -0500)
committerMichael S. Tsirkin <[email protected]>
Fri, 11 Mar 2016 00:18:45 +0000 (02:18 +0200)
commit526d3e7ff515582eaf7cf5d9da2a11bf681204e6
tree0f8cb97f616c8b09c1c8dd90530006581b26a3da
parentfd0e21c31e1e6383af978239d07ced6e4e5d82c3
vhost: introduce vhost_has_work()

This path introduces a helper which can give a hint for whether or not
there's a work queued in the work list. This could be used for busy
polling code to exit the busy loop.

Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
drivers/vhost/vhost.c
drivers/vhost/vhost.h
This page took 0.051877 seconds and 4 git commands to generate.