Re: [PATCH bpf-next v3 0/7] bpf: introduce and use rcu_read_lock_dont_migrate

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

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Thu, 21 Aug 2025 17:06:02 +0800 you wrote:
> migrate_disable() and rcu_read_lock() are used to together in many case in
> bpf. However, when PREEMPT_RCU is not enabled, rcu_read_lock() will
> disable preemption, which indicate migrate_disable(), so we don't need to
> call it in this case.
> 
> In this series, we introduce rcu_read_lock_dont_migrate and
> rcu_read_unlock_migrate, which will call migrate_disable and
> migrate_enable only when PREEMPT_RCU enabled. And use
> rcu_read_lock_dont_migrate in bpf subsystem.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v3,1/7] rcu: add rcu_read_lock_dont_migrate()
    https://git.kernel.org/bpf/bpf-next/c/1b93c03fb319
  - [bpf-next,v3,2/7] bpf: use rcu_read_lock_dont_migrate() for bpf_cgrp_storage_free()
    https://git.kernel.org/bpf/bpf-next/c/8c0afc7c9c11
  - [bpf-next,v3,3/7] bpf: use rcu_read_lock_dont_migrate() for bpf_inode_storage_free()
    https://git.kernel.org/bpf/bpf-next/c/f2fa9b906911
  - [bpf-next,v3,4/7] bpf: use rcu_read_lock_dont_migrate() for bpf_iter_run_prog()
    https://git.kernel.org/bpf/bpf-next/c/68748f0397a3
  - [bpf-next,v3,5/7] bpf: use rcu_read_lock_dont_migrate() for bpf_task_storage_free()
    https://git.kernel.org/bpf/bpf-next/c/cf4303b70dfa
  - [bpf-next,v3,6/7] bpf: use rcu_read_lock_dont_migrate() for bpf_prog_run_array_cg()
    https://git.kernel.org/bpf/bpf-next/c/427a36bb5504
  - [bpf-next,v3,7/7] bpf: use rcu_read_lock_dont_migrate() for trampoline.c
    https://git.kernel.org/bpf/bpf-next/c/8e4f0b1ebcf2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[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