lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Recv en socket TCP


From: address@hidden
Subject: Re: [lwip-users] Recv en socket TCP
Date: Mon, 05 Oct 2009 20:03:47 +0200
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Bill Auerbach wrote:
I thought I'd ask something that just occurred to me: Can lwIP's
implementation of malloc result in fragmentation of lwIP's heap?

If it can, than a system requiring 24/7 operation would be better off using
lwIP pools since they cannot fragment.
That's why I added the option for mem_malloc to use (multiple, different-sized) memp pools (added with 1.3.0, I think). We are only using lwIP that way. There are still some places where memory allocation can be improved in the stack, much leaving the heap for PBUF_RAM only.

Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]