You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/28 00:10:36 UTC

[GitHub] [incubator-nuttx] patacongo commented on issue #2425: Code size growth between 9.1.0 and 10.0.0-RC0

patacongo commented on issue #2425:
URL: https://github.com/apache/incubator-nuttx/issues/2425#issuecomment-735015480


   > 
   > 
   > @patacongo @xiaoxiang781216 @acassis @davids5 for awareness. None of these seem like "bugs" and are well intentioned, but it is something we should be aware of. The memalign one is the big one, I am not sure if there is something we can do here, I was not very involved in the TLS changes.
   
   The build for this particular configuration increases because mm_memalign() was not included in the build before and is now drawn into the build because new code in up_create_stack() now references it.
   
   The only way to avoid that would be to avoid calling mm_memalign() (or any of its variants in the different namespaces).
   
   Other configurations that already used mm_memalign() would, therefore, not see any code growth but most simple configurations will certainly be impacted.  So I don't think the problem is really so significant, but does increase the base size of most minimal configurations.  That is unfortunate primarily for marketing reasons since it makes the OS seem much large in most size investigations.


----------------------------------------------------------------
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:
users@infra.apache.org