anchao commented on PR #17468: URL: https://github.com/apache/nuttx/pull/17468#issuecomment-3679297569
> I've added the nxsched_get_tcb_noref interface—its performance is the same as before—and I've also reimplemented nxsched_verify_pid. > > Furthermore, I retested the scenario you mentioned, and there's no performance degradation at all. It seems that not all implementations have replaced nxsched_get_tcb_noref, which means the system performance will still degrade. My test case is only intended to make you aware of the performance degradation caused by nxsched_get_tcb. The pthread_mutex case is just one of them—if I provide other test cases, your patch will have many more performance bottlenecks requiring optimization. could we address this issue from the perspective of architectural implementation? -- 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]
