xiaoxiang781216 commented on code in PR #12599:
URL: https://github.com/apache/nuttx/pull/12599#discussion_r1751223491
##########
include/nuttx/fs/fs.h:
##########
@@ -490,7 +490,6 @@ struct file
struct filelist
{
- spinlock_t fl_lock; /* Manage access to the file list */
Review Comment:
The right approach is to optimize mutex performance. @zyfeier will optimize
mutex implementation to get the same performance as spinlock when no contention
happens, after that the code will restore to mutex.
--
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]