All gmon want's is a region of memory without the overhead of malloc().
Just mapping a page with mmap is an easy way to accomplish this.
Obtained from: CheriBSD (bf33e1e70b368ababde74aa3ac70d108c8a52c69)
Sponsored by: DARPA, AFRL
Differential D5005
Replace the last use of sbrk() in the tree with mmap(). brooks on Jan 21 2016, 1:15 AM. Authored by Tags None Referenced Files
Details All gmon want's is a region of memory without the overhead of malloc(). Obtained from: CheriBSD (bf33e1e70b368ababde74aa3ac70d108c8a52c69)
Diff Detail
|