crafcat7 opened a new pull request, #12969:
URL: https://github.com/apache/nuttx/pull/12969

   ## Summary
   1. Add lib_get_pathbuffer / lib_put_pathbuffer instead of temporary variable.
   2. Reduce stack size. Getting the tmp buffer through the lib_get_pathbuffer 
function reduces the declaration of temporary variables
   3. Fix an unsynchronized lock acquisition by closelk in multi-threaded 
scenarios. Ensure atomic behavior when acquiring lock status.
   4. Optimized additional performance overhead due to closelk in the close 
phase (even if the fd doesn't use fslock)
   Optimizing performance:
   Before: Time taken to close the file: 33984 nsec
   After: Time taken to close the file: 23744 nsec
   Improvement of about 10 msec
   
   ## Impact
   Optimizing fslock
   
   ## Testing
   Local test pass
   


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