Skip to content

RFC bpf, docs: structured overview of verifier

Burak Emir bpf linux-doc 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest0 of 1 patch 2 repliesIn review
  2. v1 RFC1 patch 1 replySuperseded

Patches in v2 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH v2 0/1] bpf, docs: structured overview of verifier

This is an RFC for adding overview documentation for the BPF verifier.

The existing verifier.rst has detail but IMHO it lacks structure and background. Here is my humble proposal to make the verifier docs more helpful for newcomers.

Finding a balance between overview and detail in documentation is never easy. The idea here is to describe abstract interpretation and have enough information that anyone interested can learn what is going on.

Please let me know what you think. I used Gemini 3 to get a first draft, which I then checked word-for-word and reworked.

Differences to v1:
* Formatting fix for top, bottom
* Fixed some wrong identifiers that I had missed.

Burak Emir (1):
bpf, docs: structured docs for the verifier

 Documentation/bpf/index.rst                   |  1 +
 .../bpf/verifier-overview-1-abstr-interp.rst  | 74 +++++++++++++++
 .../bpf/verifier-overview-2-domain.rst        | 91 +++++++++++++++++++
 .../bpf/verifier-overview-3-dataflow.rst      | 83 +++++++++++++++++
 .../bpf/verifier-overview-4-pruning.rst       | 59 ++++++++++++
 .../bpf/verifier-overview-5-advanced.rst      | 70 ++++++++++++++
 Documentation/bpf/verifier-overview-index.rst | 17 ++++
 7 files changed, 395 insertions(+)
 create mode 100644 Documentation/bpf/verifier-overview-1-abstr-interp.rst
 create mode 100644 Documentation/bpf/verifier-overview-2-domain.rst
 create mode 100644 Documentation/bpf/verifier-overview-3-dataflow.rst
 create mode 100644 Documentation/bpf/verifier-overview-4-pruning.rst
 create mode 100644 Documentation/bpf/verifier-overview-5-advanced.rst
 create mode 100644 Documentation/bpf/verifier-overview-index.rst
Signature · 1 line
2.53.0.473.g4a7958ca14-goog