diff options
| author | Sean Anderson <[email protected]> | 2024-10-17 15:10:55 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2024-10-17 15:41:29 +0000 |
| commit | 78b2770c935fc1434a95cc17613fe31165b02dfe (patch) | |
| tree | ee5e742b3c69ee95d628da223cfa799c13bd196d /rust/helpers/wait.c | |
| parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (diff) | |
| download | kernel-78b2770c935fc1434a95cc17613fe31165b02dfe.tar.gz kernel-78b2770c935fc1434a95cc17613fe31165b02dfe.zip | |
dma-mapping: fix tracing dma_alloc/free with vmalloc'd memory
Not all virtual addresses have physical addresses, such as if they were
vmalloc'd. Just trace the virtual address instead of trying to trace a
physical address. This aligns with the API, and is good enough to
associate dma_alloc with dma_free.
Fixes: 038eb433dc14 ("dma-mapping: add tracing for dma-mapping API calls")
Reported-by: [email protected]
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Sean Anderson <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'rust/helpers/wait.c')
0 files changed, 0 insertions, 0 deletions
