pussuw commented on PR #12435: URL: https://github.com/apache/nuttx/pull/12435#issuecomment-2259870016
Yes so it worked by chance then. Looking at the vfork() implementation it relies on the stack unwind to restore the child's state, so your fix works fine. CONFIG_ARCH_KERNEL_STACK=y does not work still. I'll make the child return directly to userspace directly instead of unwinding the copied parent kernel stack. That should work fine and will skip unnecessary work on the child. -- 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]
