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

   ## Summary
   
   1. fs/inode: improve the performance of get file pointer
   
   After entering the critical section, we can access the
   file pointer without locking the file list directly.
   This is safe since the array access will not cause scheduling switching.
   
   Signed-off-by: chao an <[email protected]>
   
   2. fs/inode: minor change to save the code size
   
   ```
   Before:
      text    data     bss     dec     hex filename
    360641    7889    4064  372594   5af72 nuttx
   
   After:
      text    data     bss     dec     hex filename
    360313    7889    4064  372266   5ae2a nuttx
   ```
   
   Signed-off-by: chao an <[email protected]>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci-check


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