diff options
| author | Christoph Hellwig <[email protected]> | 2022-11-08 09:11:13 +0100 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2022-11-15 10:56:03 +0100 |
| commit | c11b7716d6c96e82d2b404c4520237d968357a0d (patch) | |
| tree | 5a096f71572ccd59f98b2468c0518e955b56bf59 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 96ef1be53663a9343dffcf106e2f1b59da4b8799 (diff) | |
nvme-pci: move more teardown work to nvme_remove
nvme_dbbuf_dma_free frees dma coherent memory, so it must not be called
after ->remove has returned. Fortunately there is no way to use it
after shutdown as no more I/O is possible so it can be moved. Similarly
the iod_mempool can't be used for a device kept alive after shutdown, so
move it next to freeing the PRP pools.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Tested-by Gerd Bayer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions