anchao opened a new pull request #5774: URL: https://github.com/apache/incubator-nuttx/pull/5774
## Summary arch/arm: set the SP to stack top fix the stack imbalance Signed-off-by: chao.an <[email protected]> ## Impact ## Testing sabre-6quad/netknsh (/mnt/nfs/bin/getprime) (CONFIG_ARCH_INTERRUPTSTACK 0 / 2048) sabre-6quad:smp (ostest) (CONFIG_ARCH_INTERRUPTSTACK 0 / 2048) lm3s6965-ek:qemu-kostest (ostest) (CONFIG_ARCH_INTERRUPTSTACK 0 / 2048) sabre-6quad:smp : Before: ``` nsh> ps PID GROUP CPU PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND 0 0 0 0 FIFO Kthread N-- Assigned 00000000 001000 000440 44.0% CPU0 IDLE 1 1 1 0 FIFO Kthread N-- Running 00000000 001000 000408 40.8% CPU1 IDLE 2 2 2 0 FIFO Kthread N-- Running 00000000 001000 000408 40.8% CPU2 IDLE 3 3 3 0 FIFO Kthread N-- Running 00000000 001000 000408 40.8% CPU3 IDLE 4 4 --- 192 RR Kthread --- Waiting Semaphore 00000000 002016 000468 23.2% hpwork 0x1082188c 5 5 0 100 RR Task --- Running 00000000 002024 001324 65.4% nsh_main ``` after: ``` nsh> ps PID GROUP CPU PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND 0 0 0 0 FIFO Kthread N-- Assigned 00000000 001000 000440 44.0% CPU0 IDLE 1 1 1 0 FIFO Kthread N-- Running 00000000 001000 000408 40.8% CPU1 IDLE 2 2 2 0 FIFO Kthread N-- Running 00000000 001000 000408 40.8% CPU2 IDLE 3 3 3 0 FIFO Kthread N-- Running 00000000 001000 000408 40.8% CPU3 IDLE 4 4 --- 192 RR Kthread --- Waiting Semaphore 00000000 002016 000268 13.2% hpwork 0x1082188c 5 5 0 100 RR Task --- Running 00000000 002024 001136 56.1% nsh_main ``` -- 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]
