hujun260 opened a new pull request, #17337: URL: https://github.com/apache/nuttx/pull/17337
## Summary statically initialize the idle task By doing this, we further ensure the effectiveness of this_task, which allows us to remove the null checks for this_task in many places, such as in nxsched_getpid. ## Impact bringup ## Testing qemu-armv8a:nsh qemu-armv8a:nsh_smp nsh> ostest stdio_test: write fd=1 stdio_test: Standard I/O Check: printf stdio_test: write fd=2 ................................. End of test memory usage: VARIABLE BEFORE AFTER ======== ======== ======== arena 7c21000 7c21000 ordblks 8 8 mxordblk 7c04a78 7c0ebb0 uordblks c330 c338 fordblks 7c14cd0 7c14cc8 user_main: vfork() test vfork_test: Child 85 ran successfully Final memory usage: VARIABLE BEFORE AFTER ======== ======== ======== arena 7c21000 7c21000 ordblks 2 6 mxordblk 7c16f78 7c10bf8 uordblks a058 c1c0 fordblks 7c16fa8 7c14e40 user_main: Exiting ostest_main: Exiting with status 0 nsh> QEMU: Terminated -- 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]
