masayuki2009 edited a comment on pull request #5539: URL: https://github.com/apache/incubator-nuttx/pull/5539#issuecomment-1044555306
>Let me check the latest PR tomorrow. @GUIDINGLI Please change the commit message correctly. I think this is a bug fix of previous changes and NOT the wrong merge operation. >That is because lots of users use mm_takesemaphore() in idle thread, and don't care returns, like mm_malloc. >And it still called mm_givesemaphore(), so the semcount will be a large value. > >So I obey the original design, don't check the IDLE in mm_takesemaphore(), let it call sem_wait ``` Author: ligd <[email protected]> Date: Fri Feb 18 13:26:08 2022 +0800 mm: handle take mm sem in IRQ This is a amend of: 0169a51220a68d8d3bed0c20b6d606f43497a9e9 caused by wrong merge operation Signed-off-by: ligd <[email protected]> ``` -- 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]
