aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-01-26 13:39:50 +0000
committerUlf Hansson <ulf.hansson@linaro.org>2016-02-29 11:03:15 +0100
commitedd63fcc97cdb53279a7c43fa1691f5913d92793 (patch)
tree816f08494c3df518e58211e1971eb92cbc2447a4 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentmmc: sdhci: fix command response CRC error handling (diff)
downloadlinux-dev-edd63fcc97cdb53279a7c43fa1691f5913d92793.tar.xz
linux-dev-edd63fcc97cdb53279a7c43fa1691f5913d92793.zip
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 <rmk+kernel@arm.linux.org.uk> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: stable@vger.kernel.org # v4.5+ Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions