Thread (67 messages) flat view 67 messages, 12 authors, 2019-11-12

Re: [PATCH v3 bpf-next 02/18] bpf: Add bpf_arch_text_poke() helper

From: Peter Zijlstra <peterz@infradead.org>
Date: 2019-11-08 09:12:03
Also in: bpf

On Thu, Nov 07, 2019 at 10:40:23PM -0800, Alexei Starovoitov wrote:
Add bpf_arch_text_poke() helper that is used by BPF trampoline logic to patch
nops/calls in kernel text into calls into BPF trampoline and to patch
calls/nops inside BPF programs too.
This thing assumes the text is unused, right? That isn't spelled out
anywhere. The implementation is very much unsafe vs concurrent execution
of the text.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help