lkml.org 
[lkml]   [2018]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/6] locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabled
On Thu, 21 Dec 2017, Andi Kleen wrote:

> From: Andi Kleen <ak@linux.intel.com>
>
> 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.
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>
> ---
> kernel/locking/spinlock.c | 56 +++++++++++++++++++++++------------------------

How is that patch x86 specific?

Cc'in the maintainers of that is not optional either.

Thanks,

tglx

\
 
 \ /
  Last update: 2018-01-14 23:27    [W:0.194 / U:1.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site