aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorYan Zhai <[email protected]>2024-03-19 20:44:40 +0000
committerJakub Kicinski <[email protected]>2024-03-21 04:05:43 +0000
commit00bf63122459e87193ee7f1bc6161c83a525569f (patch)
treebb54c5de6214b985d103ec0d400e6b8d9527e10f /scripts/bpf_doc.py
parentnet: report RCU QS on threaded NAPI repolling (diff)
downloadkernel-00bf63122459e87193ee7f1bc6161c83a525569f.tar.gz
kernel-00bf63122459e87193ee7f1bc6161c83a525569f.zip
bpf: report RCU QS in cpumap kthread
When there are heavy load, cpumap kernel threads can be busy polling packets from redirect queues and block out RCU tasks from reaching quiescent states. It is insufficient to just call cond_resched() in such context. Periodically raise a consolidated RCU QS before cond_resched fixes the problem. Fixes: 6710e1126934 ("bpf: introduce new bpf cpu map type BPF_MAP_TYPE_CPUMAP") Reviewed-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: Yan Zhai <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Link: https://lore.kernel.org/r/c17b9f1517e19d813da3ede5ed33ee18496bb5d8.1710877680.git.yan@cloudflare.com Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions