You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "PetteriAimonen (via GitHub)" <gi...@apache.org> on 2023/09/26 11:13:32 UTC

[GitHub] [nuttx] PetteriAimonen opened a new pull request, #10816: Fix dependencies of CONFIG_SCHED_CPULOAD_ settings

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

   ## Summary
   
   Fix some Kconfig dependency problems from #10063.
   
   CONFIG_SCHED_CPULOAD_EXTCLK doesn't actually require tickless mode. As long as the platform provides external call to nxsched_process_cpuload(), it will work in either tickless or ticking mode.
   Removed Kconfig dependency.
   
   Instead, CONFIG_SCHED_CPULOAD_SYSCLK does require ticking mode to work, as documented in CONFIG_SCHED_CPULOAD help text.
   Added the dependency to Kconfig also.
   
   ## Impact
   
   Fixes breaking of configurations using `CONFIG_SCHED_CPULOAD_EXTCLK`.
   
   Automatically selects `SCHED_CPULOAD_EXTCLK` if tickless mode is enabled and selection was previously `SCHED_CPULOAD_SYSCLK`. It will behave the same: if there is no user code calling `nxsched_process_cpuload()`, cpu load will not be updated. But now the dependency is visible from Kconfig also.
   
   ## Testing
   
   Only CI build.


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 merged pull request #10816: Fix dependencies of CONFIG_SCHED_CPULOAD_ settings

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #10816:
URL: https://github.com/apache/nuttx/pull/10816


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org