commit | e2b62b8abbce4e812cbf9c5a9192af49cffe9077 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Thu Jan 14 10:35:51 2021 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Jan 23 19:47:23 2021 -0500 |
tree | 10002651862e3184a40559a3e2b7ea6efda2253c | |
parent | b01177156f8bfd40992485752798188c1ff88e71 [diff] |
newlib: clamp max heap size on MMU systems Previously, newlib claimed all free physical memory in the system. Now, the kernel manages this, allowing for memory to be used via k_mem_map() calls. Establish an upper bound to how much newlib will try to claim on system startup, instead of trying to take all of it, allowing other parts of the system to also map anonymous memory. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>