summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-09-26 09:52:14 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-27 15:25:25 +0300
commit4247ef02693716f9df87c37a181b7120c7b24648 (patch)
tree7345f490bafd0819dede23426136dfca37d9ef28 /scripts
parentf947fcaffd6a7e6bc6a5ff990e4125e501a7e68d (diff)
downloadlinux-4247ef02693716f9df87c37a181b7120c7b24648.tar.xz
ibmveth: Use dma_alloc_coherent() instead of kmalloc/dma_map_single()
Replacing kmalloc/kfree/dma_map_single/dma_unmap_single() with dma_alloc_coherent/dma_free_coherent() helps to reduce code size, and simplify the code, and coherent DMA will not clear the cache every time. Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions