lwip-commits
[Top][All Lists]
Advanced

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

Re: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master


From: Joel Cunningham
Subject: Re: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-573-g58c21eb
Date: Tue, 11 Apr 2017 15:34:55 -0500

> - Log -----------------------------------------------------------------
> commit 58c21eb13c49dc7933d9edb5a33ba78cfd16d5ab
> Author: goldsimon <address@hidden>
> Date:   Tue Apr 11 20:59:00 2017 +0200
> 
>    sockets: speed up event_callback: don't iterate select_cb_list for 
> NETCONN_EVT_RCVMINUS/SENDMINUS
> 

Could we also speed up the following cases:

1) sock->rcvevent already > 0
2) sock->sendevent already 1

I’ve noticed case #2 from debugging when receiving ACKs from a full window of 
data, each ACK calls sent_tcp, which calls event_callback() and iterates the 
list.  This seems unnecessary since any waiters would only be waiting for the 
transition from buffer full to open.

Joel


reply via email to

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