xiaoxiang781216 commented on PR #11092:
URL: https://github.com/apache/nuttx/pull/11092#issuecomment-1784455018

   > > > It is so surprise to me.
   > > 
   > > 
   > > what's surprise you?
   > 
   > Use spinlock per heap. This can avoid to use global spinlock and shared 
lock per heap. When I modified 
[PR](https://github.com/apache/nuttx/commit/51eaa59cc0ed9732eb69ac99c3e325e811a027f0),
 I never think this idea.
   
   protecting the different resource with the different spinlock could reduce 
the possibility of multiple core busy loop to grab the same lock.


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

Reply via email to