commit | a26be37e20db15797fde948d272041bc64df8701 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 06 16:26:33 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 07 01:41:14 2021 +0200 |
tree | 410d4880928909553be8884a5fe699bbeb6071ba | |
parent | e0650224b8658694c0d25d7ba38ba2bfd0c1b33c [diff] |
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.