aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <[email protected]>2020-07-14 14:39:27 +0200
committerChristoph Hellwig <[email protected]>2020-07-14 15:42:30 +0200
commit48b6703858dd5526c82d8ff2dbac59acab3a9dda (patch)
treea6a70cedc8e1b8e36e6d663df373d36dccd918da /tools/perf/util/trace-event-scripting.c
parent23e469be6239d9cf3d921fc3e38545491df56534 (diff)
dma-pool: introduce dma_guess_pool()
dma-pool's dev_to_pool() creates the false impression that there is a way to grantee a mapping between a device's DMA constraints and an atomic pool. It tuns out it's just a guess, and the device might need to use an atomic pool containing memory from a 'safer' (or lower) memory zone. To help mitigate this, introduce dma_guess_pool() which can be fed a device's DMA constraints and atomic pools already known to be faulty, in order for it to provide an better guess on which pool to use. Signed-off-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions