summaryrefslogtreecommitdiff
path: root/arch/mips/mm/dma-default.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-02-12 23:43:55 +0300
committerHelge Deller <deller@gmx.de>2018-03-02 12:05:07 +0300
commit636a415bcc7f4fd020ece8fd5fc648c4cef19c34 (patch)
treebc9190781b7d009e331c8c76963400a482bdfa15 /arch/mips/mm/dma-default.c
parent5ffa8518851f1401817c15d2a7eecc0373c26ff9 (diff)
downloadlinux-636a415bcc7f4fd020ece8fd5fc648c4cef19c34.tar.xz
parisc: Reduce irq overhead when run in qemu
When run under QEMU, calling mfctl(16) creates some overhead because the qemu timer has to be scaled and moved into the register. This patch reduces the number of calls to mfctl(16) by moving the calls out of the loops. Additionally, increase the minimal time interval to 8000 cycles instead of 500 to compensate possible QEMU delays when delivering interrupts. Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # 4.14+
Diffstat (limited to 'arch/mips/mm/dma-default.c')
0 files changed, 0 insertions, 0 deletions