Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • bpf
  • memalloc.c
Find file BlameHistoryPermalink
  • Alexei Starovoitov's avatar
    bpf: Rename few bpf_mem_alloc fields. · 12c8d0f4
    Alexei Starovoitov authored Jul 05, 2023
    
    
    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: default avatarAlexei Starovoitov <ast@kernel.org>
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    Acked-by: default avatarHou Tao <houtao1@huawei.com>
    Link: https://lore.kernel.org/bpf/20230706033447.54696-2-alexei.starovoitov@gmail.com
    12c8d0f4
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7