diff options
author | 2023-04-17 15:14:30 +0300 | |
---|---|---|
committer | 2023-06-08 12:35:54 +0300 | |
commit | ad8bfd3619bb096dd1929a69989120b45e3c3eee (patch) | |
tree | c4bdf1eb58f042a0847648bc91d6b61ff0959e38 /scripts/gdb/linux/utils.py | |
parent | accel/habanalabs: call to HW/FW err returns 0 when no events exist (diff) | |
download | wireguard-linux-ad8bfd3619bb096dd1929a69989120b45e3c3eee.tar.xz wireguard-linux-ad8bfd3619bb096dd1929a69989120b45e3c3eee.zip |
accel/habanalabs: minimize encapsulation signal mutex lock time
Sync Stream Encapsulated Signal Handlers can be managed from different
contexts, and as such they are protected via a spin_lock.
However, spin_lock was unnecessarily protecting a larger code section
than really needed, covering a sleepable code section as well.
Since spin_lock disables preemption, it could lead to sleeping in
atomic context.
Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions