[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 1/4] xen: introduce SYMBOL



On Fri, 11 Jan 2019, Juergen Gross wrote:
> On 11/01/2019 03:14, Stefano Stabellini wrote:
> > Hi Juergen, Jan,
> > 
> > I spoke with Julien: we are both convinced that the unsigned long
> > solution is best. But Julien also did some research and he thinks that
> > Jan's version (returning pointer type) not only does not help with
> > MISRA-C, but also doesn't solve the potential GCC problem either. A
> > description of the GCC issue is available here:
> > 
> > https://kristerw.blogspot.com/2016/12/pointer-comparison-invalid-optimization.html?m=1
> > 
> > (Also keep in mind that Linux uses the unsigned long solution to solve
> > the GCC issue, deviating from it doesn't seem wise.)
> > 
> > I would like to ask for a freeze exception until Monday/Tuesday next
> > week when Julien will be back, and he and his team will be able to
> > provide more evidence that the unsigned long solution is correct, while
> > the other solution is not correct.
> 
> I'm fine with the freeze exception in this case.
> 
> Reasoning:
> 
> The functional correctness of the patches is rather easy to verify. The
> main risks are:
> 
> - syntactical/semantical correctness - handled by the compiler
> - MISRA-C correctness - shouldn't be worse than without the patches
> 
> So the risk for the release seems to be rather low.

Yes, it is exactly as you say.

Thank you!

- Stefano

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.