[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0a83ebaa-40b8-55f0-cff0-5aaf7bc14e98@suse.com>
Date: Fri, 13 Dec 2019 10:00:44 +0100
From: Jürgen Groß <jgross@...e.com>
To: Paul Durrant <pdurrant@...zon.com>, xen-devel@...ts.xenproject.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Roger Pau Monné <roger.pau@...rix.com>,
Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH] xen-blkback: prevent premature module unload
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@...zon.com>
Pushed to xen/tip.git for-linus-5.5b
Juergen
Powered by blists - more mailing lists