[Barrelfish-users] Use of malloc

Simon Peter speter at inf.ethz.ch
Fri Dec 2 14:31:42 CET 2011

> I'm wondering if there is a way to avoid the two malloc() calls present in
> vspace_map_anon_aligned()
> to avoid the circular malloc() -> sbrk() -> vspace_map_anon_aligned() ->
> malloc() calls
> Is it possible to use the slab allocator for the two structures
> memobj_anon and vregion?

It should be. Also, there is another heap allocator in heap.c, which you 
might want to use.


More information about the Barrelfish-users mailing list