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

   > > tthe unit of mmap is page size, why do we need byte unit?
   > 
   > This helper function is for device drivers to use,using byte unit there 
seems more conveninent. The "mmap()" function in <sys/mman.h> is also using 
byte unit.
   
   Yes, the caller pass byte unit, but it is round up to page unit internally.


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