diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2024-06-20 13:22:05 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-06-24 23:41:24 +0000 |
| commit | 3f9fe37d9e16a6cfd5f4d1f536686ea71db3196f (patch) | |
| tree | ec13e5174a4146e629e239f084b753d4fae4c162 /net/unix/af_unix.c | |
| parent | net: Reference bpf_redirect_info via task_struct on PREEMPT_RT. (diff) | |
| download | kernel-3f9fe37d9e16a6cfd5f4d1f536686ea71db3196f.tar.gz kernel-3f9fe37d9e16a6cfd5f4d1f536686ea71db3196f.zip | |
net: Move per-CPU flush-lists to bpf_net_context on PREEMPT_RT.
The per-CPU flush lists, which are accessed from within the NAPI callback
(xdp_do_flush() for instance), are per-CPU. There are subject to the
same problem as struct bpf_redirect_info.
Add the per-CPU lists cpu_map_flush_list, dev_map_flush_list and
xskmap_map_flush_list to struct bpf_net_context. Add wrappers for the
access. The lists initialized on first usage (similar to
bpf_net_ctx_get_ri()).
Cc: "Björn Töpel" <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andrii Nakryiko <[email protected]>
Cc: Eduard Zingerman <[email protected]>
Cc: Hao Luo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Fastabend <[email protected]>
Cc: Jonathan Lemon <[email protected]>
Cc: KP Singh <[email protected]>
Cc: Maciej Fijalkowski <[email protected]>
Cc: Magnus Karlsson <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Stanislav Fomichev <[email protected]>
Cc: Yonghong Song <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Reviewed-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
