summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-06-03 21:45:55 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-03 21:45:55 -0700
commitc722c625dbe2758d53365c0ed7d401b0e286f2cf (patch)
tree4b73bc0edf80e3b5652c35512fbdb19f472b557a /net
parenta8c617eae4dc2ea9f3d64472233f2d3dc3c9993c (diff)
downloadlinux-3.10-c722c625dbe2758d53365c0ed7d401b0e286f2cf.tar.gz
linux-3.10-c722c625dbe2758d53365c0ed7d401b0e286f2cf.tar.bz2
linux-3.10-c722c625dbe2758d53365c0ed7d401b0e286f2cf.zip
tun: Only wake up writers
When I added socket accounting to tun I inadvertently introduced spurious wake-up events that kills qemu performance. The problem occurs when qemu polls on the tun fd for read, and then transmits packets. For each packet transmitted, we will wake up qemu even if it only cares about read events. Now this affects all sockets, but it is only a new problem for tun. So this patch tries to fix it for tun first and we can then look at the problem in general. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions