diff options
| author | Oded Gabbay <ogabbay@kernel.org> | 2022-01-16 00:18:32 +0200 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2022-02-28 14:22:02 +0200 |
| commit | 7169f0dfecf7745c810782f3f5fe22ba2a8d9ba1 (patch) | |
| tree | e698ed702be5a8ac17b628ccd193e46e8ef263e5 /tools/perf/scripts/python | |
| parent | habanalabs: duplicate HOP table props to MMU props (diff) | |
| download | linux-7169f0dfecf7745c810782f3f5fe22ba2a8d9ba1.tar.gz linux-7169f0dfecf7745c810782f3f5fe22ba2a8d9ba1.zip | |
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 <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
