Den sön 22 nov. 2020 12:25Lee Noar <lee.noar@sky.com> skrev:
On 21/11/2020 22:40, Michael Grunditz wrote:
> Hi
>
> Is there any way to not get MMap areas from malloc()?
Currently, no, malloc is compiled to use mmap for allocation requests of
256KB (I think) or more, but Unixlib only allows 8 mmap areas to be in
use at one time. If there are already 8 mmap areas in use, then malloc
will use the heap.
Odd but when 8 mmap areas created malloc doesn't use heap, but produces a crash.
Not a gccsdk question ( I think) but is malloc(n) supposed to return address aligned to n?
No comments:
Post a Comment