anchao opened a new pull request, #20827:
URL: https://github.com/apache/nuttx/pull/20827

   ## Summary
   
   sched/group: guard capabilities field by Kconfig
   
   The task group capability byte is only used when
   CONFIG_SCHED_CAPABILITIES is enabled.  nxsched_capable() already folds
   to true when that option is disabled, so keeping tg_caps in every task
   group wastes space in configurations that do not support scheduler
   capability checks.
   
   Guard tg_caps and the corresponding initialization paths with
   CONFIG_SCHED_CAPABILITIES.  This reduces struct task_group_s for small
   flat configurations without changing behavior when capabilities are
   disabled.
   
   Signed-off-by: chao an <[email protected]>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   sim/nsh


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to