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

From: Brian Norris
Date: Tue May 12 2015 - 14:04:53 EST


On Tue, May 12, 2015 at 06:38:34AM +0000, Cantavenera, Giuseppe (EXT-Other - DE/Ulm) wrote:
> > -----Original Message-----
> > From: ext Brian Norris [mailto:computersforpeace@xxxxxxxxx]
> > Sent: Tuesday, May 12, 2015 12:25 AM
> > To: Cantavenera, Giuseppe (EXT-Other - DE/Ulm)
> > Cc: linux-mtd@xxxxxxxxxxxxxxxxxxx; Restelli, Lorenzo (EXT-Other -
> > DE/Ulm); dwmw2@xxxxxxxxxxxxx; stable@xxxxxxxxxxxxxxx; Sverdlin,
> > Alexander (Nokia - DE/Ulm); zhangxingcai; fengfuqiu@xxxxxxxxxx;
> > tanhaijun@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> > 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@xxxxxxxxx]
> > > > Sent: Friday, May 08, 2015 2:27 AM
> > > > To: Cantavenera, Giuseppe (EXT-Other - DE/Ulm)
> > > > Cc: linux-mtd@xxxxxxxxxxxxxxxxxxx; Restelli, Lorenzo (EXT-Other -
> > > > DE/Ulm); dwmw2@xxxxxxxxxxxxx; stable@xxxxxxxxxxxxxxx; Sverdlin,
> > > > Alexander (Nokia - DE/Ulm); zhangxingcai; fengfuqiu@xxxxxxxxxx;
> > > > tanhaijun@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> > > > 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@xxxxxxxxx>

Great, thanks to all of you. I reworked the patch description and
applied this to l2-mtd.git.

Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/