Re: [PATCH v3 bpf-next 01/13] bpf: Rename few bpf_mem_alloc fields.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 6/28/2023 9:56 AM, Alexei Starovoitov wrote:
> From: Alexei Starovoitov <ast@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
Acked-by: Hou Tao <houtao1@xxxxxxxxxx>




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux