aboutsummaryrefslogtreecommitdiffstats
path: root/cvmx-malloc/README-malloc
blob: 922a713410a9b0064bcd8265b9fbd3b99b00cc0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
Readme for Octeon shared memory malloc

This malloc is based on ptmalloc2, which is the malloc
implementation of glibc.  Source code and more information
on this can be found at http://www.malloc.de/en/index.html.
Please see the individual files for licensing terms.

The main change to the code modifies the way the malloc
gets memory from the system.  Under Linux/Unix, malloc
uses the brk or memmap sytem calls to request more memory.
In this implementation, memory regions must be explicitly
given to malloc by the application.