aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2022-01-16 00:18:32 +0200
committerOded Gabbay <ogabbay@kernel.org>2022-02-28 14:22:02 +0200
commit7169f0dfecf7745c810782f3f5fe22ba2a8d9ba1 (patch)
treee698ed702be5a8ac17b628ccd193e46e8ef263e5 /tools/perf/scripts/python
parenthabanalabs: duplicate HOP table props to MMU props (diff)
downloadlinux-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