casaroli commented on PR #21615: URL: https://github.com/apache/nuttx/pull/21615#issuecomment-6791013332
> [@casaroli](https://github.com/casaroli) the switch of addrenv is a slow operation, it could be better to refine the implementation of semaphore to split the representation of userspace and kernel like Linux futex later. I agree. The switch is only on the slow path: a signal, a timeout or sched_setparam() of a waiter from another process. A wait and a post in the same process do not switch. A futex-like split also removes the temporary kmap of the first fix and the wait list that fork() copies today, so it is a good follow-up. -- 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]
