fjpanag opened a new pull request, #6631: URL: https://github.com/apache/incubator-nuttx/pull/6631
## Summary The PR #5368 removed the memory checks from the idle thread, due to issues with priority inheritance. This is an attempt to restore these checks, this time running in a worker. If this feature is enabled, a worker will be started during system boot, that performs the following checks periodically: * Checks the stacks of all threads for any possible overflow. * Checks the heap for any corruption. ## Impact None on existing systems. ## Testing I did a quick test on a custom board running on an STM32F427 MCU. The check is started and executed as expected. --- Note, although this code is tested to be working, it is marked as a draft. I am not very sure about the correct structure of the code, and if it adheres to NuttX standards. Please review it, and provide me with some feedback. Mostly, is it correct to create this new dir `mm_check`, or does the code belong anywhere else? Is the worker started at the correct place? Any naming issues? Etc... -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org