pussuw opened a new pull request, #2159:
URL: https://github.com/apache/nuttx-apps/pull/2159

   ## Summary
   Locking the scheduler prior to calling posix_spawn() might lock the 
scheduler for a relatively long time, if the file to be loaded is large.
   
   posix_spawn() loads the process into memory, possibly linking it as well if 
the binary format is linkable (elf). This can take tens / hundreds of 
milliseconds, which basically destroys the OS's real time performance.
   
   Missing the death-of-child signal is a very trivial penalty considering the 
alternative.
   ## Impact
   Remove a potentially very long scheduler lock from task spawning.
   ## Testing
   rv-virt:knsh64 and MPFS target with >100 processes
   


-- 
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]

Reply via email to