summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPetr Tesarik <petrtesarik@huaweicloud.com>2023-02-20 18:06:22 +0300
committerChristoph Hellwig <hch@lst.de>2023-03-28 04:34:05 +0300
commit25a4ce564921db0973b74c04e0ea23bd2ee12a3a (patch)
treea8413d0633b5617794768d0e998aa8e556ec4782 /tools/perf/scripts/python/export-to-sqlite.py
parent0eee5ae1025699ea93d44fdb6ef2365505082103 (diff)
downloadlinux-25a4ce564921db0973b74c04e0ea23bd2ee12a3a.tar.xz
dma-direct: cleanup parameters to dma_direct_optimal_gfp_mask
Since both callers of dma_direct_optimal_gfp_mask() pass dev->coherent_dma_mask as the second argument, it is better to remove that parameter altogether. Not only is reducing number of parameters good for readability, but the new function signature is also more logical: The optimal flags depend only on data contained in struct device. While touching this code, let's also rename phys_mask to phys_limit in dma_direct_alloc_from_pool(), because it is indeed a limit. Signed-off-by: Petr Tesarik <petrtesarik@huaweicloud.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions