diff options
author | Yan Zhai <yan@cloudflare.com> | 2024-03-19 23:44:34 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-21 07:05:42 +0300 |
commit | 1a77557d48cff187a169c2aec01c0dd78a5e7e50 (patch) | |
tree | 3546b847341ff48d74295d8b06f1517e851ba715 /scripts/Makefile.compiler | |
parent | f7bf0ec1e73d43a347489e958b42841b111d63d6 (diff) | |
download | linux-1a77557d48cff187a169c2aec01c0dd78a5e7e50.tar.xz |
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 'scripts/Makefile.compiler')
0 files changed, 0 insertions, 0 deletions