aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorYan Zhai <yan@cloudflare.com>2024-03-19 13:44:34 -0700
committerJakub Kicinski <kuba@kernel.org>2024-03-20 21:05:42 -0700
commit1a77557d48cff187a169c2aec01c0dd78a5e7e50 (patch)
tree3546b847341ff48d74295d8b06f1517e851ba715 /net/core/dev.c
parentionic: update documentation for XDP support (diff)
downloadwireguard-linux-1a77557d48cff187a169c2aec01c0dd78a5e7e50.tar.xz
wireguard-linux-1a77557d48cff187a169c2aec01c0dd78a5e7e50.zip
rcu: add a helper to report consolidated flavor QS
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 <paulmck@kernel.org> Reviewed-by: Jesper Dangaard Brouer <hawk@kernel.org> Signed-off-by: Yan Zhai <yan@cloudflare.com> Reviewed-by: Paul E. McKenney <paulmck@kernel.org> Acked-by: Jesper Dangaard Brouer <hawk@kernel.org> Link: https://lore.kernel.org/r/90431d46ee112d2b0af04dbfe936faaca11810a5.1710877680.git.yan@cloudflare.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions