diff options
author | Bastian Hecht | 2016-09-28 09:51:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-09-28 17:53:16 +0200 |
commit | dd01c75f1df311793de6ef217c72036552000c9a (patch) | |
tree | 0da39cc93ddfb308acd94a627663033a7f421bc2 /drivers/base/memory.c | |
parent | drivers: dma-coherent: Fix DMA coherent size for less than page (diff) | |
download | kernel-qcow2-linux-dd01c75f1df311793de6ef217c72036552000c9a.tar.gz kernel-qcow2-linux-dd01c75f1df311793de6ef217c72036552000c9a.tar.xz kernel-qcow2-linux-dd01c75f1df311793de6ef217c72036552000c9a.zip |
drivers: dma-coherent: Move spinlock in dma_alloc_from_coherent()
We don't need to hold the spinlock while zeroing the allocated memory.
In case we handle big buffers this is a severe issue as other CPUs might
be spinning half a second or longer.
Signed-off-by: Bastian Hecht <bhecht@de.adit-jv.com>
Signed-off-by: George G. Davis <george_davis@mentor.com>
Signed-off-by: Mark Craske <Mark_Craske@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/memory.c')
0 files changed, 0 insertions, 0 deletions