diff options
author | 2021-03-18 17:14:23 +0100 | |
---|---|---|
committer | 2021-03-19 04:58:25 +0000 | |
commit | 2d29960af0bee8cc6731b9bd3964850c9e7a6840 (patch) | |
tree | ba8681e49c8ea749f5c2fe64af50a1aa3f457329 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | swiotlb: move global variables into a new io_tlb_mem structure (diff) | |
download | wireguard-linux-2d29960af0bee8cc6731b9bd3964850c9e7a6840.tar.xz wireguard-linux-2d29960af0bee8cc6731b9bd3964850c9e7a6840.zip |
swiotlb: dynamically allocate io_tlb_default_mem
Instead of allocating ->list and ->orig_addr separately just do one
dynamic allocation for the actual io_tlb_mem structure. This simplifies
a lot of the initialization code, and also allows to just check
io_tlb_default_mem to see if swiotlb is in use.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions