pussuw commented on issue #14593:
URL: https://github.com/apache/nuttx/issues/14593#issuecomment-2457260369

   > 
   > so, the current semantics of enter_critical_section is:
   > 
   >     * it disables interrupts on the calling CPU.
   Yes
   >     * it does NOT disable interrupts on remote CPUs.
   Yes
   > 
   >     * it acquires the system-global, recursive lock, which is 
automatically released/re-aquired when the current thread blocks/wakes up. 
(similarly to the big kernel lock in the traditional unix.)
   Yes
   > 
   > is it right?
   
   The release/re-acquire logic is a bit hard to follow at least for me. I'm 
stuck with my SMP integration to MPFS + BUILD_KERNEL because I'm getting random 
crashes / DEBUGASSERT()s from irq_csection(). There is something odd going on 
with this logic.


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