]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: clean up inlines for some functions
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 1 Nov 2023 17:16:24 +0000 (13:16 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 20 Nov 2023 21:16:22 +0000 (13:16 -0800)
commite5f2bc97476e803b49c98d49a26609330df3fdde
treee4c0b630cef6e3578146f1b32018a4b59672752a
parent65ec483802abf13cb20140986f06359c9fd90946
maple_tree: clean up inlines for some functions

There are a few functions which were inlined but are somewhat too large to
inline, so remove the inline key word.

There are also several very small functions which are used in critical
code sections which gcc was not inlining, so make this more strict and use
__always_line for these functions.

Link: https://lkml.kernel.org/r/20231101171629.3612299-8-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Peng Zhang <zhangpeng.00@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c