[haiku-development] Re: net_buffer vs (simple)net_buffer
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 03 Nov 2009 20:02:31 +0100
Oliver Ruiz Dorantes <oliver.ruiz.dorantes@xxxxxxxxx> wrote:
> Is there any implementation to have like a net_buffers pool?
> Something to avoid memory fragmentation by multiple create/free. In
> other
> words, a mechanism to not free a net_buffer if i am going to need to
> allocate another one in the immediately future with a similar size.
That's exactly what the slab does.
Bye,
Axel.
Other related posts: