Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rcu: add a helper to report consolidated flavor QS
[ Upstream commit 1a77557 ] When under heavy load, network processing can run CPU-bound for many tens of seconds. Even in preemptible kernels (non-RT kernel), this can block RCU Tasks grace periods, which can cause trace-event removal to take more than a minute, which is unacceptably long. This commit therefore creates a new helper function that passes through both RCU and RCU-Tasks quiescent states every 100 milliseconds. This hard-coded value suffices for current workloads. Suggested-by: Paul E. McKenney <[email protected]> Reviewed-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: Yan Zhai <[email protected]> Reviewed-by: Paul E. McKenney <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Link: https://lore.kernel.org/r/90431d46ee112d2b0af04dbfe936faaca11810a5.1710877680.git.yan@cloudflare.com Signed-off-by: Jakub Kicinski <[email protected]> Stable-dep-of: 00bf631 ("bpf: report RCU QS in cpumap kthread") Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information