On Fri, Sep 03, 2021 at 10:10:16AM -0700, Andrii Nakryiko wrote: > > 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.