[Top][All Lists]

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

[lwip-devel] [bug #52763] mdns: move data off the stack and dynamically

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #52763] mdns: move data off the stack and dynamically allocate data.
Date: Wed, 3 Jan 2018 13:57:52 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Follow-up Comment #14, bug #52763 (project lwip):

Reading the lasts posts, we could probably close this bug as duplicate as we
already have bug #48953 to remind us that stack usage in mdns is too high.

Douglas, I thought you had pools emulated via the heap, so using pools should
be good for you (moving ram from the stack to the heap)?

>> LwIP does not use the C heap! 
> Sounds like a barrier to attempts to manage the memory 
> resource and with that barrier there seems no point in 
> pursuing the mdns changes.

No, you're wrong there. You just can't use C library functions that directly
use the heap. And there's no need for that, after all. You can still use *a*
heap (via mem_malloc/mem_free).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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