search for: functuon

Displaying 5 results from an estimated 5 matches for "functuon".

Did you mean: function
2019 Sep 26
2
[PATCH V2 5/8] mdev: introduce device specific ops
...arent; if (likely(parent->ops->release)) parent->ops->release(mdev); module_put(THIS_MODULE); Does anything prevent the module from unloading at this point? if not then ... } it looks like the implicit return (with instructions for argument pop and functuon return) here can get overwritten on module unload, causing a crash when executed. IOW there's generally no way for module to keep a reference to itself: it can take a reference but it needs someone else to keep it and put. -- MST
2019 Sep 26
2
[PATCH V2 5/8] mdev: introduce device specific ops
...arent; if (likely(parent->ops->release)) parent->ops->release(mdev); module_put(THIS_MODULE); Does anything prevent the module from unloading at this point? if not then ... } it looks like the implicit return (with instructions for argument pop and functuon return) here can get overwritten on module unload, causing a crash when executed. IOW there's generally no way for module to keep a reference to itself: it can take a reference but it needs someone else to keep it and put. -- MST
2019 Sep 26
0
[PATCH V2 5/8] mdev: introduce device specific ops
...parent->ops->release(mdev); > > module_put(THIS_MODULE); > > Does anything prevent the module from unloading at this point? > if not then ... > > > } > > it looks like the implicit return (with instructions for argument pop > and functuon return) here can get overwritten on module > unload, causing a crash when executed. > > IOW there's generally no way for module to keep a reference > to itself: it can take a reference but it needs someone else > to keep it and put. I'd always assumed this would exit cleanl...
2019 Sep 25
3
[PATCH V2 5/8] mdev: introduce device specific ops
On Wed, Sep 25, 2019 at 4:52 AM Tian, Kevin <kevin.tian at intel.com> wrote: > > From: Alex Williamson > > Sent: Wednesday, September 25, 2019 7:07 AM > > > > On Tue, 24 Sep 2019 21:53:29 +0800 > > Jason Wang <jasowang at redhat.com> wrote: > > > > > Currently, except for the create and remove, the rest of > > > mdev_parent_ops is
2019 Sep 25
3
[PATCH V2 5/8] mdev: introduce device specific ops
On Wed, Sep 25, 2019 at 4:52 AM Tian, Kevin <kevin.tian at intel.com> wrote: > > From: Alex Williamson > > Sent: Wednesday, September 25, 2019 7:07 AM > > > > On Tue, 24 Sep 2019 21:53:29 +0800 > > Jason Wang <jasowang at redhat.com> wrote: > > > > > Currently, except for the create and remove, the rest of > > > mdev_parent_ops is