[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220722180641.2902585-1-paulmck@kernel.org>
Date: Fri, 22 Jul 2022 11:06:40 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: bpf@...r.kernel.org, netdev@...r.kernel.org,
linux-doc@...r.kernel.org
Cc: corbet@....net, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org, kernel-team@...com,
"Paul E. McKenney" <paulmck@...nel.org>
Subject: [PATCH bpf 1/2] bpf: Update bpf_design_QA.rst to clarify that kprobes is not ABI
This patch updates bpf_design_QA.rst to clarify that the ability to
attach a BPF program to a given point in the kernel code via kprobes
does not make that attachment point be part of the Linux kernel's ABI.
Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
---
Documentation/bpf/bpf_design_QA.rst | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/bpf/bpf_design_QA.rst b/Documentation/bpf/bpf_design_QA.rst
index 437de2a7a5de7..2ed9128cfbec8 100644
--- a/Documentation/bpf/bpf_design_QA.rst
+++ b/Documentation/bpf/bpf_design_QA.rst
@@ -214,6 +214,12 @@ A: NO. Tracepoints are tied to internal implementation details hence they are
subject to change and can break with newer kernels. BPF programs need to change
accordingly when this happens.
+Q: Are places where kprobes can attach part of the stable ABI?
+--------------------------------------------------------------
+A: NO. The places to which kprobes can attach are internal implementation
+details, which means that they are subject to change and can break with
+newer kernels. BPF programs need to change accordingly when this happens.
+
Q: How much stack space a BPF program uses?
-------------------------------------------
A: Currently all program types are limited to 512 bytes of stack
--
2.31.1.189.g2e36527f23
Powered by blists - more mailing lists