Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9d1504016201b52d10aae4078acbc3549499e044 https://github.com/OpenSIPS/opensips/commit/9d1504016201b52d10aae4078acbc3549499e044 Author: Maksym Sobolyev <sobo...@sippysoft.com> Date: 2021-02-03 (Wed, 03 Feb 2021)
Changed paths: M modules/event_route/route_send.c Log Message: ----------- Do not break platform alignment rules by placing struct right after variable-length string. Instead, pack all fixed-length structs first and append variable portion at the end of the allocated buffer. This is particularly important on ARM32, but even on i386/amd64 would produce slowish code and might have some extra synchronization quirks when shared across multuple cores. Commit: fe28d3ea97566ecbf3d0035b36fdb97ec695220f https://github.com/OpenSIPS/opensips/commit/fe28d3ea97566ecbf3d0035b36fdb97ec695220f Author: Maksym Sobolyev <sobo...@sippysoft.com> Date: 2021-02-03 (Wed, 03 Feb 2021) Changed paths: M modules/mi_fifo/fifo_fnc.c M modules/usrloc/ul_evi.c Log Message: ----------- Alocate complex structure using anonymous struct, not pointer arith. This is to get rid of warnings on ARM32. Commit: 024b93bda7260b1812f4e8147a7e6bce1e22ab32 https://github.com/OpenSIPS/opensips/commit/024b93bda7260b1812f4e8147a7e6bce1e22ab32 Author: Maksym Sobolyev <sobo...@sippysoft.com> Date: 2021-02-08 (Mon, 08 Feb 2021) Changed paths: M modules/event_route/route_send.c M modules/mi_fifo/fifo_fnc.c M modules/usrloc/ul_evi.c Log Message: ----------- Merge pull request #2393 from sippy/tmerge_20210203 Refactor structure(s) packing code to do not put C structures at random unaligned offsets Compare: https://github.com/OpenSIPS/opensips/compare/6aba946eb313...024b93bda726 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel