diff options
author | Oded Gabbay <[email protected]> | 2022-01-16 00:18:32 +0200 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2022-02-28 14:22:02 +0200 |
commit | 7169f0dfecf7745c810782f3f5fe22ba2a8d9ba1 (patch) | |
tree | e698ed702be5a8ac17b628ccd193e46e8ef263e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1dc6cc4b38e5456b7b8741a6194018d30a521d38 (diff) |
habanalabs: don't free phys_pg_pack inside lock
Freeing phys_pg_pack includes calling to scrubbing functions of the
device's memory, taking locks and possibly even calling reset.
This is not something that should be done while holding a device-wide
spinlock.
Therefore, save the relevant objects on a local linked-list and after
releasing the spinlock, traverse that list and free the phys_pg_pack
objects.
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions