Messages in this thread | | | Date | Fri, 17 Sep 2021 22:10:01 +0200 | From | Peter Zijlstra <> | Subject | Re: Unloading a module with a function which is used by a static call |
| |
On Fri, Sep 17, 2021 at 11:07:22PM +0300, Denis Efremov wrote: > Hi, > > I'm not sure, but is it intentional that we don't increase a module refcounter > when we call static_call_update()? Let's imagine that:
For all intents and purposes, static_call_update() is the same as assinging a function pointer. That also doesn't increment module counts.
If your case requires management of module refcounts, you get to do so.
| |