[sr-dev] [kamailio/kamailio] shm_malloc to align on 16 bytes for large allocations (Issue #3157)

Daniel-Constantin Mierla notifications at github.com
Wed Jun 22 22:04:37 CEST 2022


I see that's for q_malloc, but f_malloc and tlsf_malloc have `sizeof(void*)` or `2^3`. The memory managers can be selected with -x cli parameter.

Overall I am fine to increase it, but I see there are some comments about constraints with round value and size of some structs, so probably needs some checks to detect when it gets broken. Then some proper testing would be needed to catch eventual side effects.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3157#issuecomment-1163548769
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3157/1163548769 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220622/4ae34007/attachment-0001.htm>


More information about the sr-dev mailing list