Files
linux/kernel
Martin KaFai Lau fda64ae0bb bpf: bpf_task_storage_delete_recur does lookup first before the deadlock check
Similar to the earlier change in bpf_task_storage_get_recur.
This patch changes bpf_task_storage_delete_recur such that it
does the lookup first.  It only returns -EBUSY if it needs to
take the spinlock to do the deletion when potential deadlock
is detected.

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20221025184524.3526117-7-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-10-25 23:11:46 -07:00
..
2022-09-28 09:02:20 +02:00
2022-09-26 19:46:18 -07:00
2021-12-02 17:25:21 +09:00
2022-08-29 19:47:03 -04:00
2022-09-26 10:13:13 -07:00
2022-03-15 10:32:44 +01:00
2022-09-01 16:55:35 +02:00
2022-06-29 13:07:16 +02:00
2022-02-25 09:36:06 +01:00