diff options
author | Andi Kleen <ak@linux.intel.com> | 2022-07-19 13:05:48 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-08-04 11:05:43 +0200 |
commit | 9aeaf5bc4e30ec968ae660b865ed491a28daf500 (patch) | |
tree | 56bb70795842225040b8e8ead67071774578df2d /block/blk-merge.c | |
parent | d171011e6adad135eaced630dce26cac9a174037 (diff) |
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 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions