aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorHou Tao <[email protected]>2022-12-09 01:09:47 +0000
committerAlexei Starovoitov <[email protected]>2022-12-09 01:50:17 +0000
commit822ed78fab13d5a54f8b8c030e8c5dc0fcd2cdae (patch)
tree8715fbbde0c80e21ce62e7b1e4e71ca279f37e35 /scripts/bpf_doc.py
parentbpf: Reuse freed element in free_by_rcu during allocation (diff)
downloadkernel-822ed78fab13d5a54f8b8c030e8c5dc0fcd2cdae.tar.gz
kernel-822ed78fab13d5a54f8b8c030e8c5dc0fcd2cdae.zip
bpf: Skip rcu_barrier() if rcu_trace_implies_rcu_gp() is true
If there are pending rcu callback, free_mem_alloc() will use rcu_barrier_tasks_trace() and rcu_barrier() to wait for the pending __free_rcu_tasks_trace() and __free_rcu() callback. If rcu_trace_implies_rcu_gp() is true, there will be no pending __free_rcu(), so it will be OK to skip rcu_barrier() as well. Acked-by: Yonghong Song <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Signed-off-by: Hou Tao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions