summaryrefslogtreecommitdiffstats
path: root/kernel/locking/qrwlock.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2022-07-19 13:05:48 +0200
committerIngo Molnar <mingo@kernel.org>2022-08-04 11:05:43 +0200
commit9aeaf5bc4e30ec968ae660b865ed491a28daf500 (patch)
tree56bb70795842225040b8e8ead67071774578df2d /kernel/locking/qrwlock.c
parentd171011e6adad135eaced630dce26cac9a174037 (diff)
downloadlinux-9aeaf5bc4e30ec968ae660b865ed491a28daf500.tar.bz2
locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabled
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> Signed-off-by: Martin Liska <mliska@suse.cz> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20220719110548.1544-1-jslaby@suse.cz
Diffstat (limited to 'kernel/locking/qrwlock.c')
0 files changed, 0 insertions, 0 deletions