GUIDINGLI opened a new pull request #5504:
URL: https://github.com/apache/incubator-nuttx/pull/5504


   
   ## Summary
   
   mm: handle take mm sem in IRQ
   
   In https://github.com/apache/incubator-nuttx/pull/5368/files we remove the 
heap check in idle thread for performance, and don't allow user call 
sem_trywait in IRQ context.
   
   But there is also have a debug feature in sched/irq/irq_dispatch.c, when 
tcb's flag TCB_FLAG_MEM_CHECK setted.
   It also need call mm_takesemaphore -> sem_trywait in IRQ context.
   
   So I used another way to handle this, that's is the patch.
   
   ## Impact
   
   mm take sem in IRQ
   
   ## Testing
   
   VELA
   


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