Re: [PATCH 0/7] ARM: hacks for link-time optimization

2018-12-21 Thread Paul E. McKenney
On Fri, Dec 21, 2018 at 09:20:44AM -0800, Andi Kleen wrote: > > In particular turning an address-dependency into a control-dependency, > > which is something allowed by the C language, since it doesn't recognise > > these concepts as such. > > > > The 'optimization' is allowed currently, but LTO

Re: [PATCH 0/7] ARM: hacks for link-time optimization

2018-12-21 Thread Andi Kleen
> In particular turning an address-dependency into a control-dependency, > which is something allowed by the C language, since it doesn't recognise > these concepts as such. > > The 'optimization' is allowed currently, but LTO will make it much more > likely since it will have a much wider view

Re: [PATCH 0/7] ARM: hacks for link-time optimization

2018-12-21 Thread Paul E. McKenney
On Tue, Dec 18, 2018 at 11:00:14AM +0100, Peter Zijlstra wrote: > On Tue, Dec 18, 2018 at 10:18:24AM +0100, Peter Zijlstra wrote: > > In particular turning an address-dependency into a control-dependency, > > which is something allowed by the C language, since it doesn't recognise > > these

Re: [PATCH 0/7] ARM: hacks for link-time optimization

2018-12-18 Thread Peter Zijlstra
On Tue, Dec 18, 2018 at 10:18:24AM +0100, Peter Zijlstra wrote: > In particular turning an address-dependency into a control-dependency, > which is something allowed by the C language, since it doesn't recognise > these concepts as such. > > The 'optimization' is allowed currently, but LTO will

Re: [PATCH 0/7] ARM: hacks for link-time optimization

2018-12-18 Thread Peter Zijlstra
On Mon, Dec 17, 2018 at 04:08:00PM -0800, Andi Kleen wrote: > On Mon, Dec 17, 2018 at 11:50:20PM +0100, Peter Zijlstra wrote: > > On Tue, Feb 20, 2018 at 10:59:47PM +0100, Arnd Bergmann wrote: > > > Hi Nico, all, > > > > > > I was playing with ARM link-time optimization handling earlier this > >

Re: [PATCH 0/7] ARM: hacks for link-time optimization

2018-12-17 Thread Andi Kleen
On Mon, Dec 17, 2018 at 11:50:20PM +0100, Peter Zijlstra wrote: > On Tue, Feb 20, 2018 at 10:59:47PM +0100, Arnd Bergmann wrote: > > Hi Nico, all, > > > > I was playing with ARM link-time optimization handling earlier this > > month, and eventually got it to build cleanly with randconfig kernels,

Re: [PATCH 0/7] ARM: hacks for link-time optimization

2018-12-17 Thread Peter Zijlstra
On Tue, Feb 20, 2018 at 10:59:47PM +0100, Arnd Bergmann wrote: > Hi Nico, all, > > I was playing with ARM link-time optimization handling earlier this > month, and eventually got it to build cleanly with randconfig kernels, > but ended up with a lot of ugly hacks to actually pull it off. How are

[PATCH 0/7] ARM: hacks for link-time optimization

2018-02-20 Thread Arnd Bergmann
Hi Nico, all, I was playing with ARM link-time optimization handling earlier this month, and eventually got it to build cleanly with randconfig kernels, but ended up with a lot of ugly hacks to actually pull it off. Here are the ones that I don't think we actually want to merge, but it may be

[PATCH 0/7] ARM: hacks for link-time optimization

2018-02-20 Thread Arnd Bergmann
Hi Nico, all, I was playing with ARM link-time optimization handling earlier this month, and eventually got it to build cleanly with randconfig kernels, but ended up with a lot of ugly hacks to actually pull it off. Here are the ones that I don't think we actually want to merge, but it may be