diff options
author | Hou Tao <[email protected]> | 2022-10-21 19:49:13 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-10-21 19:17:38 -0700 |
commit | fa4447cb73b2bfe7175f1b7ffdc70580fcfcb991 (patch) | |
tree | 880478f51c4b63a582c3b1dba2a5730d31fe9394 /lib/mpi/mpi-sub-ui.c | |
parent | 3d05818707bb2cf133ccdcd29f2d5585b5bc1298 (diff) |
bpf: Use __llist_del_all() whenever possbile during memory draining
Except for waiting_for_gp list, there are no concurrent operations on
free_by_rcu, free_llist and free_llist_extra lists, so use
__llist_del_all() instead of llist_del_all(). waiting_for_gp list can be
deleted by RCU callback concurrently, so still use llist_del_all().
Acked-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions