aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2008-12-08 13:46:00 -0700
committerDan Williams <[email protected]>2008-12-08 13:46:00 -0700
commita06d568f7c5e40e34ea64881842deb8f4382babf (patch)
tree15b38b4652705b7c58bd89052c81ab91ca94cc4a /tools/perf/scripts/python
parentb0b42b16ff2b90f17bc1a4308366c9beba4b276e (diff)
async_xor: dma_map destination DMA_BIDIRECTIONAL
Mapping the destination multiple times is a misuse of the dma-api. Since the destination may be reused as a source, ensure that it is only mapped once and that it is mapped bidirectionally. This appears to add ugliness on the unmap side in that it always reads back the destination address from the descriptor, but gcc can determine that dma_unmap is a nop and not emit the code that calculates its arguments. Cc: <[email protected]> Cc: Saeed Bishara <[email protected]> Acked-by: Yuri Tikhonov <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions