aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorGravatar Clemens Ladisch <clemens@ladisch.de> 2011-04-11 09:57:54 +0200
committerGravatar Stefan Richter <stefanr@s5r6.in-berlin.de> 2011-04-19 20:00:11 +0200
commitda28947e7e3602669e27d5e9ce787436ed662fa4 (patch)
tree33b3cfb25fddbe12b4f19f02ce3253872eed2436 /sound
parentfirewire: ohci: do not start DMA contexts before link is enabled (diff)
downloadlinux-da28947e7e36.tar.gz
linux-da28947e7e36.tar.bz2
linux-da28947e7e36.zip
firewire: ohci: avoid separate DMA mapping for small AT payloads
For AT packet payloads of up to eight bytes, we have enough unused space in the DMA descriptors list so that we can put a copy of the payload there and thus avoid having to create a separate streaming DMA mapping for the payload buffer. In a CPU-bound microbenchmark that just sends 8-byte packets, bandwidth was measured to increase by 5.7 %, from 1009 KB/s to 1067 KB/s. In practice, the only performance-sensitive usage of small asynchronous packets is the SBP-2 driver's write to the ORB_POINTER register during SCSI command submission. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions