XMPengYinjie opened a new pull request, #12993:
URL: https://github.com/apache/nuttx/pull/12993

   ## Summary
   Bug fix for munmap and typo issues.
   
   ## Impact
   According to the munmap(3p) specification 'The behavior of this function is 
unspecified if the mapping was not established by
   a call to mmap()', mmap and munmap are used in paried.
   
   However, some mmap implementation driven by FS do not add
   corresponding entries to the queue. The relevant patches as follow:
   
1.https://github.com/apache/nuttx/commit/dd97900221a84a2dc50ff229176fd14577ae9604
   
2.https://github.com/apache/nuttx/commit/f33dc4df3fcbf5bcb1f5a5b4d4d982f611fd92a9
   
   In this case, munmap will not find the entry and errno will be set as 
EINVAL, this isn't developers want.
   
   ## Testing
   Pass.
   
   The other patch is a fix for comment description.
   
   


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