summaryrefslogtreecommitdiff
path: root/drivers/md/dm-sysfs.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-12-06 15:00:18 (GMT)
committerMichael S. Tsirkin <mst@redhat.com>2012-12-06 15:09:18 (GMT)
commitcedb9bdce099206290a2bdd02ce47a7b253b6a84 (patch)
treee30b69a7b94c6fe30272549f3c3ad6faf10bd37f /drivers/md/dm-sysfs.c
parent1280c27f8e29acf4af2da914e80ec27c3dbd5c01 (diff)
downloadlinux-cedb9bdce099206290a2bdd02ce47a7b253b6a84.tar.xz
vhost-net: skip head management if no outstanding
For short packets zerocopy mode adds overhead of managing heads which isn't necessary: we could simly update used ring directly same as with zerocopy disabled. Things seem to run a bit faster if we detect and bypass head management when zcopy isn't used. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/md/dm-sysfs.c')
0 files changed, 0 insertions, 0 deletions