diff options
author | Jason Wang <jasowang@redhat.com> | 2013-06-06 01:54:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-08 08:49:08 +0200 |
commit | 89cee917deb5bf0dc9da269a38622588d06cb6be (patch) | |
tree | ff7285962e65a9444d8debcb232406b939853570 /drivers/hid | |
parent | macvtap: fix a possible race between queue selection and changing queues (diff) | |
download | linux-89cee917deb5bf0dc9da269a38622588d06cb6be.tar.xz linux-89cee917deb5bf0dc9da269a38622588d06cb6be.zip |
macvtap: do not add self to waitqueue if doing a nonblock read
There's no need to add self to waitqueue if doing a nonblock read. This could
help to avoid the spinlock contention.
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions