You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/11/07 02:20:29 UTC
[GitHub] [incubator-nuttx] anchao commented on pull request #7525: Improvements in TCP connections allocation.
anchao commented on PR #7525:
URL: https://github.com/apache/incubator-nuttx/pull/7525#issuecomment-1304999331
@fjpanag
>> Only a single connection is allocated, the one actually needed.
On some platforms this behavior can cause the memory fragmentation, and also if you think the memory fragmentation is acceptable, please configure the numb er of connections to 1, which will consistent with your expectations.
>> In tcp_free() the connection is actually deallocated, instead of leaving it existing forever in the list.
as mentioned in #6960, please release the connections instance if the number of connections is configured to 1, otherwise keep the current behavior, in some cases memory fragmentation is unacceptable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org