On Wed, Dec 18, 2019 at 02:01:47AM +, Yi Yang (杨�D)-云服务集团 wrote:
> Ben, thank for your review, for recvmmsg, we have to prepare some buffers
> for it, but we have no way to know how many packets are there for socket, so
> these mallocs are must-have overhead, maybe self-adaptive malloc
Ben, thank for your review, for recvmmsg, we have to prepare some buffers
for it, but we have no way to know how many packets are there for socket, so
these mallocs are must-have overhead, maybe self-adaptive malloc mechanism
is better, for example, the first receive just mallocs 4 buffers, if it