diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-09-05 17:49:17 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-09-22 13:42:33 +0200 |
commit | 1f166e9e5c7cd5d1fe2a5da7c97c1688d4c93fbb (patch) | |
tree | 0a5adec49f7b5b798c197cb3cc1dc92cb401b6fe /mm/rmap.c | |
parent | ee877b81c6b92c190e7186c1ffd054804b426c02 (diff) | |
download | linux-stable-1f166e9e5c7cd5d1fe2a5da7c97c1688d4c93fbb.tar.gz linux-stable-1f166e9e5c7cd5d1fe2a5da7c97c1688d4c93fbb.tar.bz2 linux-stable-1f166e9e5c7cd5d1fe2a5da7c97c1688d4c93fbb.zip |
s390/pci_dma: split dma_update_trans
Split dma_update_trans into __dma_update_trans which handles updating
the dma translation tables and __dma_purge_tlb which takes care of
purging associated entries in the dma translation lookaside buffer.
The map_sg API makes use of this split approach by calling
__dma_update_trans once per physically contiguous address range but
__dma_purge_tlb only once per dma contiguous address range.
This results in less invocations of the expensive RPCIT instruction
when using map_sg.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions