Thread (27 messages) 27 messages, 5 authors, 2021-09-07

Re: [PATCH v5 bpf-next 2/3] bpf: introduce helper bpf_get_branch_snapshot

From: Peter Zijlstra <peterz@infradead.org>
Date: 2021-09-04 10:25:09
Also in: lkml

On Fri, Sep 03, 2021 at 10:10:16AM -0700, Andrii Nakryiko wrote:
quoted
I suppose you have to have this helper function because the JIT cannot
emit static_call()... although in this case one could cheat and simply
emit a call to static_call_query() and not bother with dynamic updates
(because there aren't any).
If that's safe, let's do it.
I'll try and remember to look into static_call_lock(), a means of
forever denying future static_call_update() calls. That should make this
more obvious.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help