From: Burak Emir <bqe@google.com>
To: Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Andrii Nakryiko <andrii@kernel.org>
Cc: Burak Emir <bqe@google.com>,
Martin KaFai Lau <martin.lau@linux.dev>,
Eduard Zingerman <eddyz87@gmail.com>, Song Liu <song@kernel.org>,
Yonghong Song <yonghong.song@linux.dev>,
John Fastabend <john.fastabend@gmail.com>,
KP Singh <kpsingh@kernel.org>,
Stanislav Fomichev <sdf@fomichev.me>, Hao Luo <haoluo@google.com>,
Jiri Olsa <jolsa@kernel.org>, Jonathan Corbet <corbet@lwn.net>,
bpf@vger.kernel.org, linux-doc@vger.kernel.org
Subject: [RFC PATCH v2 0/1] bpf, docs: structured overview of verifier
Date: Mon, 9 Mar 2026 13:46:24 +0000 [thread overview]
Message-ID: <20260309134630.2638181-1-bqe@google.com> (raw)
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
--
2.53.0.473.g4a7958ca14-goog
next reply other threads:[~2026-03-09 13:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 13:46 Burak Emir [this message]
2026-03-09 14:47 ` [RFC PATCH v2 0/1] bpf, docs: structured overview of verifier Jonathan Corbet
2026-03-09 15:42 ` Alexei Starovoitov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260309134630.2638181-1-bqe@google.com \
--to=bqe@google.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=corbet@lwn.net \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kpsingh@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=sdf@fomichev.me \
--cc=song@kernel.org \
--cc=yonghong.song@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox