Messages in this thread | | | Subject | Re: [PATCH] xen-blkback: prevent premature module unload | From | Jürgen Groß <> | Date | Fri, 13 Dec 2019 10:00:44 +0100 |
| |
On 10.12.19 15:53, Paul Durrant wrote: > Objects allocated by xen_blkif_alloc come from the 'blkif_cache' kmem > cache. This cache is destoyed when xen-blkif is unloaded so it is > necessary to wait for the deferred free routine used for such objects to > complete. This necessity was missed in commit 14855954f636 "xen-blkback: > allow module to be cleanly unloaded". This patch fixes the problem by > taking/releasing extra module references in xen_blkif_alloc/free() > respectively. > > Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Pushed to xen/tip.git for-linus-5.5b
Juergen
| |