[PATCH] mtd: fix: avoid race condition when accessing mtd->usecount

Cantavenera, Giuseppe (EXT-Other - DE/Ulm) giuseppe.cantavenera.ext at nokia.com
Mon May 11 23:38:34 PDT 2015


> -----Original Message-----
> From: ext Brian Norris [mailto:computersforpeace at gmail.com]
> Sent: Tuesday, May 12, 2015 12:25 AM
> To: Cantavenera, Giuseppe (EXT-Other - DE/Ulm)
> Cc: linux-mtd at lists.infradead.org; Restelli, Lorenzo (EXT-Other -
> DE/Ulm); dwmw2 at infradead.org; stable at vger.kernel.org; Sverdlin,
> Alexander (Nokia - DE/Ulm); zhangxingcai; fengfuqiu at huawei.com;
> tanhaijun at huawei.com; linux-kernel at vger.kernel.org
> Subject: Re: [PATCH] mtd: fix: avoid race condition when accessing mtd-
> >usecount
> 
> On Mon, May 11, 2015 at 07:44:26AM +0000, Cantavenera, Giuseppe (EXT-
> Other - DE/Ulm) wrote:
> > > -----Original Message-----
> > > From: ext Brian Norris [mailto:computersforpeace at gmail.com]
> > > Sent: Friday, May 08, 2015 2:27 AM
> > > To: Cantavenera, Giuseppe (EXT-Other - DE/Ulm)
> > > Cc: linux-mtd at lists.infradead.org; Restelli, Lorenzo (EXT-Other -
> > > DE/Ulm); dwmw2 at infradead.org; stable at vger.kernel.org; Sverdlin,
> > > Alexander (Nokia - DE/Ulm); zhangxingcai; fengfuqiu at huawei.com;
> > > tanhaijun at huawei.com; linux-kernel at vger.kernel.org
> > > Subject: Re: [PATCH] mtd: fix: avoid race condition when accessing
> mtd-
> > > >usecount
> > >
> > > On Thu, May 07, 2015 at 05:17:45PM -0700, Brian Norris wrote:
> > > > On Thu, May 07, 2015 at 05:10:12PM -0700, Brian Norris wrote:
> > > > > On Tue, Apr 21, 2015 at 12:20:22PM +0200, Giuseppe Cantavenera
> > > wrote:

> Can I get a 'Tested-by', or at least an 'Acked-by' for the patch? I
> tested it, but I don't think I can reproduce your original problem very
> easily.
> 
> Brian

Hello Brian,

We were able to do some long runs last night and as expected
this patch seems to address the issue pretty well.

Thanks,
Giuseppe

Tested-by: Giuseppe Cantavenera <giuseppe.cantavenera.ext at nokia.com>



More information about the linux-mtd mailing list