yf13 commented on PR #12041: URL: https://github.com/apache/nuttx/pull/12041#issuecomment-2062917969
> > Yes, the caller pass byte unit, but it is round up to page unit internally. This helper is for callers like `fb_mmap()` to use, where byte unit looks more natural. The helper can do VM allocation, unit conversion and do looping call to up_shmat internally, these processing may take a dozen of LOCs. By wrapping them in the helper, the caller side can be simpler. -- 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]
