OSDN Git Service

doc: Give XDP as example of non-obvious RCU reader/updater pairing
authorToke Høiland-Jørgensen <toke@redhat.com>
Thu, 24 Jun 2021 16:05:53 +0000 (18:05 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 24 Jun 2021 17:41:14 +0000 (19:41 +0200)
commite74c74f9e51deb725e72d129084ba8252d47222d
tree7d52ec628c6aa39a9123dd851a85479298bca25d
parent9a145c04a293933002ec288a4d6b4f370b59e4d1
doc: Give XDP as example of non-obvious RCU reader/updater pairing

This commit gives an example of non-obvious RCU reader/updater pairing
in the guise of the XDP feature in networking, which calls BPF programs
from network-driver NAPI (softirq) context.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210624160609.292325-4-toke@redhat.com
Documentation/RCU/checklist.rst