diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-08-02 20:39:11 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-08-04 23:17:24 +0300 |
commit | b9b738eeafe54d960ccb240fc1b0c5031a0d76f5 (patch) | |
tree | e8339152df7bf2d76e5ac869d087c2a0782ee58e /Documentation/bpf/bpf_design_QA.rst | |
parent | 4ae97cae07e15d41e5c0ebabba64c6eefdeb0bbe (diff) | |
download | linux-b9b738eeafe54d960ccb240fc1b0c5031a0d76f5.tar.xz |
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@kernel.org>
Link: https://lore.kernel.org/r/20220802173913.4170192-1-paulmck@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/bpf/bpf_design_QA.rst')
-rw-r--r-- | Documentation/bpf/bpf_design_QA.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/bpf/bpf_design_QA.rst b/Documentation/bpf/bpf_design_QA.rst index 437de2a7a5de..2ed9128cfbec 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 |