xiaoxiang781216 commented on pull request #1112:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/1112#issuecomment-1083470255


   @masayuki2009 the change ensure the heap memory align with MM_MIN_CHUNK, 
which is a core heap manager assumption. Why this issue isn't reported before? 
Because the default config(CONFIG_MM_SMALL=n), 2 * SIZEOF_MM_ALLOCNODE(2 * 
8)(start + end node) just equals MM_MIN_CHUNK(16). But once CONFIG_MM_SMALL is 
enabled, 2 * SIZEOF_MM_ALLOCNODE become 2 * 4(8).


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