jerpelea opened a new pull request, #21220:
URL: https://github.com/apache/nuttx/pull/21220

   ## Summary
   
   struct gran_s, struct graninfo_s and struct pginfo_s stored granule and page 
counts in uint16_t, so a granule allocator could manage at most 65535 granules. 
 For the page allocator of a kernel build with 4 KiB pages that is less than 
256 MiB of memory for all programs, whatever the size of the RAM.  
gran_initialize() rejected a larger pool.
   
   Store the counts in uint32_t, reject only an empty pool, and widen the page 
counts before sysinfo() shifts them to bytes.
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


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