summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-06-23 13:07:30 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-24 15:06:17 -0400
commit92cd14408be36310743db9b874a13cf6eb3120c1 (patch)
treee4dd87981485403504749b46b722b5170473bd24 /fs
parentb301f8de192504518d59662404426198229bb79d (diff)
downloadlinux-stable-92cd14408be36310743db9b874a13cf6eb3120c1.tar.gz
linux-stable-92cd14408be36310743db9b874a13cf6eb3120c1.tar.bz2
linux-stable-92cd14408be36310743db9b874a13cf6eb3120c1.zip
media: staging: media: tegra-vde: Defer dmabuf's unmapping
Frequent IOMMU remappings take about 50% of CPU usage because there is quite a lot to remap. Defer dmabuf's unmapping by 5 seconds in order to mitigate the mapping overhead which goes away completely and driver works as fast as in a case of a disabled IOMMU. The case of a disabled IOMMU should also benefit a tad from the caching since CPU cache maintenance that happens on dmabuf's attaching takes some resources. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions