Follow-up from "WIP: Fix timers and TCPDNS send"
The following discussion from !4807 (merged) should be addressed:
-
@artem started a discussion: (+1 comment) It seems that this functions allocates memory and can be called on hot paths of the application. Maybe it makes sense to allocate memory from two mempools: one mempool holds objects of the size
NM_REG_BUF
, the other oneNM_BIG_BUF
?