RE: [PATCH] of: fix of_update_property()

From: Grant Likely
Date: Tue Feb 04 2014 - 12:27:20 EST


On Mon, 20 Jan 2014 05:50:17 +0000, "Li.Xiubo@xxxxxxxxxxxxx" <Li.Xiubo@xxxxxxxxxxxxx> wrote:
> > Subject: Re: [PATCH] of: fix of_update_property()
> >
> > On Thu, Jan 16, 2014 at 10:46 PM, Xiubo Li <Li.Xiubo@xxxxxxxxxxxxx> wrote:
> > > The of_update_property() is intent to update a property in a node
> >
> > s/intent/indended/
> >
> > > and if the property does not exist, will add it to the node.
> > >
> > > The second search of the property is possibly won't be found, that
> > > maybe removed by other thread just before the second search begain,
> > > if so just retry it.
> >
> > How did you find this problem? Actual use or some artificial stress test?
> >
>
> Some artificial stress test at home.

Can you reproduce those tests? It would be nice to have the selftests in
the kernel so that we can regression test for problems like this.

g.

--
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/