diff options
| author | Tony Battersby <tonyb@cybernetics.com> | 2023-01-26 13:51:17 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-05 19:42:39 -0700 |
| commit | 347e4e44c0a98abcee3caadd222e3e3896c6d2a8 (patch) | |
| tree | 850a25534c558b8575af72350583180d8f591cc9 /tools/perf/scripts/python | |
| parent | 65216545436bb072b1ab575aa37173a05f3993c0 (diff) | |
| download | linux-347e4e44c0a98abcee3caadd222e3e3896c6d2a8.tar.gz linux-347e4e44c0a98abcee3caadd222e3e3896c6d2a8.zip | |
dmapool: cleanup integer types
To represent the size of a single allocation, dmapool currently uses
'unsigned int' in some places and 'size_t' in other places. Standardize
on 'unsigned int' to reduce overhead, but use 'size_t' when counting all
the blocks in the entire pool.
Link: https://lkml.kernel.org/r/20230126215125.4069751-5-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
