Message ID | 20240620132727.660738-1-bigeasy@linutronix.de (mailing list archive) |
---|---|
Headers | show |
Series | locking: Introduce nested-BH locking. | expand |
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Thu, 20 Jun 2024 15:21:50 +0200 you wrote: > Disabling bottoms halves acts as per-CPU BKL. On PREEMPT_RT code within > local_bh_disable() section remains preemtible. As a result high prior > tasks (or threaded interrupts) will be blocked by lower-prio task (or > threaded interrupts) which are long running which includes softirq > sections. > > The proposed way out is to introduce explicit per-CPU locks for > resources which are protected by local_bh_disable() and use those only > on PREEMPT_RT so there is no additional overhead for !PREEMPT_RT builds. > > [...] Here is the summary with links: - [v9,net-next,01/15] locking/local_lock: Introduce guard definition for local_lock. https://git.kernel.org/netdev/net-next/c/07e4fd4c0592 - [v9,net-next,02/15] locking/local_lock: Add local nested BH locking infrastructure. https://git.kernel.org/netdev/net-next/c/c5bcab755822 - [v9,net-next,03/15] net: Use __napi_alloc_frag_align() instead of open coding it. https://git.kernel.org/netdev/net-next/c/43d7ca2907cb - [v9,net-next,04/15] net: Use nested-BH locking for napi_alloc_cache. https://git.kernel.org/netdev/net-next/c/bdacf3e34945 - [v9,net-next,05/15] net/tcp_sigpool: Use nested-BH locking for sigpool_scratch. https://git.kernel.org/netdev/net-next/c/585aa621af6c - [v9,net-next,06/15] net/ipv4: Use nested-BH locking for ipv4_tcp_sk. https://git.kernel.org/netdev/net-next/c/ebad6d033479 - [v9,net-next,07/15] netfilter: br_netfilter: Use nested-BH locking for brnf_frag_data_storage. https://git.kernel.org/netdev/net-next/c/c67ef53a88db - [v9,net-next,08/15] net: softnet_data: Make xmit per task. https://git.kernel.org/netdev/net-next/c/ecefbc09e8ee - [v9,net-next,09/15] dev: Remove PREEMPT_RT ifdefs from backlog_lock.*(). https://git.kernel.org/netdev/net-next/c/a8760d0d1497 - [v9,net-next,10/15] dev: Use nested-BH locking for softnet_data.process_queue. https://git.kernel.org/netdev/net-next/c/b22800f9d3b1 - [v9,net-next,11/15] lwt: Don't disable migration prio invoking BPF. https://git.kernel.org/netdev/net-next/c/3414adbd6a6a - [v9,net-next,12/15] seg6: Use nested-BH locking for seg6_bpf_srh_states. https://git.kernel.org/netdev/net-next/c/d1542d4ae4df - [v9,net-next,13/15] net: Use nested-BH locking for bpf_scratchpad. https://git.kernel.org/netdev/net-next/c/78f520b7bbe5 - [v9,net-next,14/15] net: Reference bpf_redirect_info via task_struct on PREEMPT_RT. https://git.kernel.org/netdev/net-next/c/401cb7dae813 - [v9,net-next,15/15] net: Move per-CPU flush-lists to bpf_net_context on PREEMPT_RT. https://git.kernel.org/netdev/net-next/c/3f9fe37d9e16 You are awesome, thank you!