[haiku-development] Re: net_buffer vs (simple)net_buffer

Oliver Ruiz Dorantes <oliver.ruiz.dorantes@xxxxxxxxx> wrote:
> Are they compatible each other?
> Which more functionalities offers the non simple version?

The simple version is only thought for debugging purposes - it uses the 
heap for everything, instead of a slab.

> Where I can find more information about what is such slab allocator?

A slab is just a heap that can only return allocations of a single size 
which makes it faster than a heap (it could also keep mostly 
initialized objects around, but that feature isn't currently used yet).

Bye,
   Axel.


Other related posts: