git: kernel: Adjust inlining annotations for better results
Aaron LI
aly at crater.dragonflybsd.org
Sat Jun 20 00:14:56 PDT 2026
commit ddf0679e8a98f48154797b589dd86b15b22b3a77
Author: Aaron LI <aly at aaronly.me>
Date: Sat Jun 20 14:01:46 2026 +0800
kernel: Adjust inlining annotations for better results
We will be removing the '-finline-limit=8000 ...' compiler flags, which
can change the inlining results. By adjusting the inlining annoations
with proper '__always_inline' annotations, the inlining results become
better and more deterministic.
In the meantime, a few unnecessary '__inline' annotations are removed.
Discussed-with: dillon
Summary of changes:
sys/kern/kern_timeout.c | 6 +++---
sys/kern/vfs_cache.c | 26 +++++++++++++-------------
sys/sys/spinlock2.h | 8 ++++----
3 files changed, 20 insertions(+), 20 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ddf0679e8a98f48154797b589dd86b15b22b3a77
--
DragonFly BSD source repository
More information about the Commits
mailing list