bpf: Run deferred program freeing on system_dfl_long_wq - #8426
bpf: Run deferred program freeing on system_dfl_long_wq#8426kernel-patches-daemon-bpf-rc[bot] wants to merge 1 commit into
Conversation
|
Upstream branch: 761214e |
bef5cbb to
33bc381
Compare
|
Upstream branch: cfce77b |
f034272 to
9bca0c3
Compare
33bc381 to
45cb8d7
Compare
|
Upstream branch: 0bcca2a |
9bca0c3 to
546fbb7
Compare
45cb8d7 to
6c56c75
Compare
|
Upstream branch: 5f30ac9 |
546fbb7 to
e5307ad
Compare
6c56c75 to
0426e44
Compare
|
Upstream branch: 7ac6e1a |
e5307ad to
046f470
Compare
0426e44 to
0e8ec9c
Compare
|
Upstream branch: 7c25590 |
046f470 to
0507706
Compare
0e8ec9c to
496f764
Compare
|
Upstream branch: 2f2223a |
0507706 to
838cb33
Compare
496f764 to
1fbb913
Compare
|
Upstream branch: 5eb8921 |
838cb33 to
493c79c
Compare
1fbb913 to
d4e1e61
Compare
|
Upstream branch: 426a6be |
493c79c to
5d3a479
Compare
d4e1e61 to
bbaaced
Compare
|
Upstream branch: fcac2b4 |
1e559bd to
f56dfc5
Compare
|
Upstream branch: 8f876c7 |
156911a to
362e771
Compare
f56dfc5 to
0ea36e6
Compare
|
Upstream branch: 0b10b94 |
362e771 to
d8236f7
Compare
0ea36e6 to
c36ebaf
Compare
|
Upstream branch: 6078126 |
d8236f7 to
3df1ce0
Compare
c36ebaf to
b57d8a1
Compare
|
Upstream branch: 457d4ec |
3df1ce0 to
e64b084
Compare
b57d8a1 to
74f1219
Compare
|
Upstream branch: 7f333f8 |
|
Upstream branch: e2baf9c |
|
Upstream branch: 6655c40 |
|
Upstream branch: 363b15d |
|
Upstream branch: 5b91f44 |
|
Upstream branch: 8295c27 |
|
Upstream branch: 11c1e83 |
1 similar comment
|
Upstream branch: 11c1e83 |
|
Upstream branch: 7d008cd |
|
Upstream branch: 8c7f55d |
|
Upstream branch: 41c129f |
|
Upstream branch: 2b1f9f6 |
|
Upstream branch: e1d9b82 |
|
Upstream branch: 51476f6 |
|
Upstream branch: 8b365b3 |
|
Upstream branch: d114bb9 |
Destroying APT's seccomp BPF programs can spend over 20ms in arm64 JIT text invalidation. bpf_jit_free() calls kick_all_cpus_sync(), which is especially expensive on system with many CPUs. schedule_work() uses a per-CPU workqueue, causing: """ [204351.169849] workqueue: bpf_prog_free_deferred hogged CPU for >20000us 5 times, consider switching to WQ_UNBOUND """ This is triggered during a normal "sudo apt update -y" Queue the cleanup on system_dfl_long_wq, the unbound queue intended for long-running work, to avoid delaying concurrency-managed per-CPU workers. Signed-off-by: Richard Cheng <icheng@nvidia.com>
Pull request for series with
subject: bpf: Run deferred program freeing on system_dfl_long_wq
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1130518