pussuw opened a new pull request, #16134: URL: https://github.com/apache/nuttx/pull/16134
## Summary There is no need for a gettid() syscall, as the thread ID is stable through the life of the process. It is safe to put a copy of TID to TLS. This way a user processes can access TID quickly via its own stack, instead of having to use an expensive syscall. ## Impact Impact is to gettid() system call, this patch removes the call gate to kernel and moves the data into TLS for quick userspace access. ## Testing rv-virt:knsh64 + ostest -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org