aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorAmos Kong <[email protected]>2011-06-09 00:27:10 -0700
committerDavid S. Miller <[email protected]>2011-06-09 00:27:10 -0700
commit61a5ff15ebdab87887861a6b128b108404e4706d (patch)
treee439d62aa7299ad6644b37b3e569ca3de8c0f60b /scripts/objdiff
parent6f7c156c08d5eaa9fff2bd062f0a2b9d09a1e7a9 (diff)
tun: do not put self in waitq if doing a nonblock read
Perf shows a relatively high rate (about 8%) race in spin_lock_irqsave() when doing netperf between external host and guest. It's mainly becuase the lock contention between the tun_do_read() and tun_xmit_skb(), so this patch do not put self into waitqueue to reduce this kind of race. After this patch, it drops to 4%. Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Amos Kong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions