patacongo edited a comment on issue #2425: URL: https://github.com/apache/incubator-nuttx/issues/2425#issuecomment-735026990
Hmm.. for the case of ARM with CONFIG_MM_SMALL=n, the memory returned by mm_malloc() will already be aligned correctly to 8-byte address boundaries. That is required because the allocated memory must be capable of holding aligned long long and aligned double types in allocated structures. So for this particular case, switching to mm_memalign() is an unfortunate waste and completely unnecessary. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org