[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8edc494b-1399-da6e-5e7c-4410d7fe8723@huaweicloud.com>
Date: Wed, 28 Jun 2023 14:14:37 +0800
From: Hou Tao <houtao@...weicloud.com>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: tj@...nel.org, rcu@...r.kernel.org, netdev@...r.kernel.org,
bpf@...r.kernel.org, kernel-team@...com, daniel@...earbox.net,
andrii@...nel.org, void@...ifault.com, paulmck@...nel.org
Subject: Re: [PATCH v3 bpf-next 01/13] bpf: Rename few bpf_mem_alloc fields.
On 6/28/2023 9:56 AM, Alexei Starovoitov wrote:
> From: Alexei Starovoitov <ast@...nel.org>
>
> 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@...nel.org>
Acked-by: Hou Tao <houtao1@...wei.com>
Powered by blists - more mailing lists