diff options
author | 2023-07-05 20:34:34 -0700 | |
---|---|---|
committer | 2023-07-12 23:45:22 +0200 | |
commit | 12c8d0f4c8702f88a74973fb7ced85b59043b0ab (patch) | |
tree | 2b41a0a24dfc12055bc713b66566c82f20cb4064 /include/linux/rcutiny.h | |
parent | selftests/bpf: extend existing map resize tests for per-cpu use case (diff) | |
download | wireguard-linux-12c8d0f4c8702f88a74973fb7ced85b59043b0ab.tar.xz wireguard-linux-12c8d0f4c8702f88a74973fb7ced85b59043b0ab.zip |
bpf: Rename few bpf_mem_alloc fields.
Rename:
- struct rcu_head rcu;
- struct llist_head free_by_rcu;
- struct llist_head waiting_for_gp;
- atomic_t call_rcu_in_progress;
+ struct llist_head free_by_rcu_ttrace;
+ struct llist_head waiting_for_gp_ttrace;
+ struct rcu_head rcu_ttrace;
+ atomic_t call_rcu_ttrace_in_progress;
...
- static void do_call_rcu(struct bpf_mem_cache *c)
+ static void do_call_rcu_ttrace(struct bpf_mem_cache *c)
to better indicate intended use.
The 'tasks trace' is shortened to 'ttrace' to reduce verbosity.
No functional changes.
Later patches will add free_by_rcu/waiting_for_gp fields to be used with normal RCU.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/bpf/20230706033447.54696-2-alexei.starovoitov@gmail.com
Diffstat (limited to 'include/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions