commit | 89cee917deb5bf0dc9da269a38622588d06cb6be | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Wed Jun 05 23:54:34 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 07 23:49:08 2013 -0700 |
tree | ff7285962e65a9444d8debcb232406b939853570 | |
parent | ed0483fa06e0efb86a82e382a00dbad02b62807c [diff] |
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>