[OpenSIPS-Devel] [OpenSIPS/opensips] faaca7: hp malloc: fix the hash size macros
Liviu Chircu
liviu at opensips.org
Tue Mar 25 15:56:13 CET 2014
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: faaca742a06d5a1e5f8925a1e95cfafcdd85c709
https://github.com/OpenSIPS/opensips/commit/faaca742a06d5a1e5f8925a1e95cfafcdd85c709
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-03-25 (Tue, 25 Mar 2014)
Changed paths:
M mem/hp_malloc.c
M mem/hp_malloc.h
M mem/shm_mem.c
Log Message:
-----------
hp malloc: fix the hash size macros
* the old ones actually led to bad memory accesses within hp_malloc()
Commit: 7d302c18fbd6c4c4d7af64aeddb1e9c65b6c9fc3
https://github.com/OpenSIPS/opensips/commit/7d302c18fbd6c4c4d7af64aeddb1e9c65b6c9fc3
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-03-25 (Tue, 25 Mar 2014)
Changed paths:
M config.h
Log Message:
-----------
hp malloc: reduce the built-in maximum split factor
* dividing the list into too many smaller ones may actually hurt performance
* this also reduces the minimum pkg and shm consumption by 3.4MB when
enabling HP_MALLOC
Compare: https://github.com/OpenSIPS/opensips/compare/ddaf00470e4f...7d302c18fbd6
More information about the Devel
mailing list