REORG: acitvity: uninline sched_activity_entry()
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 14:26:33 +0000 (16:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:41:14 +0000 (01:41 +0200)
commita26be37e20db15797fde948d272041bc64df8701
tree410d4880928909553be8884a5fe699bbeb6071ba
parente0650224b8658694c0d25d7ba38ba2bfd0c1b33c
REORG: acitvity: uninline sched_activity_entry()

This one is expensive in code size because it comes with xxhash.h at a
low level of dependency that's inherited at plenty of places, and for
a function does doesn't benefit from inlining and could possibly even
benefit from not being inline given that it's large and called from the
scheduler.

Moving it to activity.c reduces the LoC by 1.2% and the binary size by
~1kB.
include/haproxy/activity.h
src/activity.c