commit | ec4df64dc70bbcdb96cbdf288defd5e8fef31aea | [log] [tgz] |
---|---|---|
author | Peter Mitsis <peter.mitsis@intel.com> | Wed Mar 05 11:37:44 2025 -0800 |
committer | Benjamin Cabé <kartben@gmail.com> | Sat Mar 08 03:38:37 2025 +0100 |
tree | 94073453994474c3a6ebfac9bd5d222ced93799f | |
parent | 4338122248f05084ec034a5c570f3c2f05f819d3 [diff] |
kernel: make order_key field in thread conditional The 'order_key' field in the thread structure '_thread_base' is only required when CONFIG_SCHED_SCALABLE and/or CONFIG_WAITQ_SCALABLE are enabled (neither of which is a default setting). Making the existence of this field conditional slightly reduces the size of the k_thread structure when neither of those Kconfig options are selected. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>