aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King <[email protected]>2016-01-26 13:39:50 +0000
committerUlf Hansson <[email protected]>2016-02-29 11:03:15 +0100
commitedd63fcc97cdb53279a7c43fa1691f5913d92793 (patch)
tree816f08494c3df518e58211e1971eb92cbc2447a4 /tools/perf/scripts/python
parent71fcbda0fcddd0896c4982a484f6c8aa802d28b1 (diff)
mmc: sdhci: avoid unnecessary mapping/unmapping of align buffer
Unnecessarily mapping and unmapping the align buffer for SD cards is expensive: performance measurements on iMX6 show that this gives a hit of 10% on hdparm buffered disk reads. MMC/SD card IO comes from the mm/vfs which gives us page based IO, so for this case, the align buffer is not going to be used. However, we still map and unmap this buffer. Eliminate this by switching the align buffer to be a DMA coherent buffer, which needs no DMA maintenance to access the buffer. Signed-off-by: Russell King <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Cc: [email protected] # v4.5+ Tested-by: Gregory CLEMENT <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions