summaryrefslogtreecommitdiff
path: root/fs/splice.c
diff options
context:
space:
mode:
authorDavid L Stevens <david.stevens@oracle.com>2014-09-30 03:48:11 +0400
committerDavid S. Miller <davem@davemloft.net>2014-10-01 01:10:39 +0400
commit8e845f4cbbd2ef81846c2ab5dca46d88fb2717ee (patch)
tree59f30a451145d5e95bf308c4b06cacb61a996417 /fs/splice.c
parente4defc775424a3501caf98d266a8d7616fa53819 (diff)
downloadlinux-8e845f4cbbd2ef81846c2ab5dca46d88fb2717ee.tar.xz
sunvnet: make transmit path zero-copy in the kernel
This patch removes pre-allocated transmit buffers and instead directly maps pending packets on demand. This saves O(n^2) maximum-sized transmit buffers, for n hosts on a vswitch, as well as a copy to those buffers. Single-stream TCP throughput linux-solaris dropped ~5% for 1500-byte MTU, but linux-linux at 1500-bytes increased ~20%. Signed-off-by: David L Stevens <david.stevens@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions