diff options
| author | Tony Battersby <tonyb@cybernetics.com> | 2023-01-26 13:51:18 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-05 19:42:39 -0700 |
| commit | 19f504584038f6d27846b19ee413a6ac1ee0f765 (patch) | |
| tree | ff0153a196a94f479a2ea2ce1153bbf6bd300725 /tools/perf/scripts/python | |
| parent | 347e4e44c0a98abcee3caadd222e3e3896c6d2a8 (diff) | |
| download | linux-19f504584038f6d27846b19ee413a6ac1ee0f765.tar.gz linux-19f504584038f6d27846b19ee413a6ac1ee0f765.zip | |
dmapool: speedup DMAPOOL_DEBUG with init_on_alloc
Avoid double-memset of the same allocated memory in dma_pool_alloc() when
both DMAPOOL_DEBUG is enabled and init_on_alloc=1.
Link: https://lkml.kernel.org/r/20230126215125.4069751-6-kbusch@meta.com
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
