locking/rtmutex: Make text section and inlining consistent
authorThomas Gleixner <tglx@linutronix.de>
Fri, 26 Mar 2021 15:29:40 +0000 (16:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 29 Mar 2021 13:57:04 +0000 (15:57 +0200)
commitd7a2edb890c0bfe467140c0cd79fe7cf65249376
tree5e04889c1f43b016308babba93d4d5eb409f7fe5
parentf41dcc18698e660668a33cde8ab965e0298ac341
locking/rtmutex: Make text section and inlining consistent

rtmutex is half __sched and the other half is not. If the compiler decides
to not inline larger static functions then part of the code ends up in the
regular text section.

There are also quite some performance related small helpers which are
either static or plain inline. Force inline those which make sense and mark
the rest __sched.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210326153944.152977820@linutronix.de
kernel/locking/rtmutex.c