[sr-dev] [kamailio/kamailio] shm_malloc to align on __alignof__(max_align_t) like malloc = 16 bytes (Issue #3157)

space88man notifications at github.com
Wed Jun 22 02:52:19 CEST 2022


The qm allocator has a `ROUNDTO` of `16UL` so naturally provides 16-byte aligned memory.

However the flag `DBG_SR_MEMORY` causes `ROUNDTO` to be reduced to `sizeof(void *)`.

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

Message ID: <kamailio/kamailio/issues/3157/1162504439 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220621/41a95fee/attachment.htm>


More information about the sr-dev mailing list