Re: [PATCH 3/6] locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabled

2018-01-14 Thread Thomas Gleixner
On Thu, 21 Dec 2017, Andi Kleen wrote: > From: Andi Kleen > > Otherwise LTO will inline them anyways and cause a large > kernel text increase. > > Since the explicit intention here is to not inline them marking > them noinline is good documentation even for the non LTO

Re: [PATCH 3/6] locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabled

2018-01-14 Thread Thomas Gleixner
On Thu, 21 Dec 2017, Andi Kleen wrote: > From: Andi Kleen > > Otherwise LTO will inline them anyways and cause a large > kernel text increase. > > Since the explicit intention here is to not inline them marking > them noinline is good documentation even for the non LTO case. > >