URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8c2888fc... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 21:06:34 2014 +0200
mem/q_malloc: free old pointer if allocation in realloc fails
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=41a37b57... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 21:03:34 2014 +0200
mem/f_malloc: free old pointer if allocation in realloc fails
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3dda7122... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:56:19 2014 +0200
Makefile.defs: version set to 4.2.0-dev6
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ace9adb0... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:52:53 2014 +0200
Makefile.defs: memory manager set to f_malloc
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4eae467f... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:52:06 2014 +0200
xmlrpc: removed unused variable in rpc_array_add
- reported by Juha Heinanen
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aac0c211... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:10:00 2014 +0200
core/mem: f_malloc updates for pool type and refactoring of parts
- removed define on statistics, it was always on for the past several years - the code is cleaner - total free fragements is kept in root memory block to avoid computing it at runtime by walking hash slots - attempt to join fragments when a malloc fails to reuse existing fragments - should help when mem_join is 0, being very fast up to the moment of an out of memory, when does the attempt of joining - pkg stats updated to use the single event callback at the end of malloc, free or realloc operations
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e6705253... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:07:41 2014 +0200
core/mem: q_malloc updates to set pool type and pkg stats refactoring
- total free fragments are kept in memory root block to avoid computing them by walking the hash table - use single event callback to update per process pkg stats, executed at the end of malloc, free or realloc opperations
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8b1cef2c... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:05:32 2014 +0200
kex: use the new pkg update stats event callback
- print total size and total free fragments for each process - should solve the issue when values of pkg stats were innacurate
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=91b3628f... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:05:12 2014 +0200
core/mem: ll_malloc initialization updated to be able to set pool type
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5baa85b0... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:04:34 2014 +0200
core/mem: sf_malloc initialization updated to be able to set pool type
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bccf5cd0... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:02:47 2014 +0200
core: repaced the two pkg update event callbacks with one
- simplified usage as can be executed at the end of memory operations (malloc, free, realloc)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c996d5dd... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:02:06 2014 +0200
core/mem: set shm type when initializing shared memory pool
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8ef30f91... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 20:01:23 2014 +0200
pkg/mem: set pkg type when intializing memory pool
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ffa1beb6... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 19:57:19 2014 +0200
core/mem: define internal types for pkg and shm pools
- to allow easier identification when doing operations over mem block
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=62a9e6f6... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 11:45:34 2014 +0200
Makefile.defs: compile with debugging symbols when using clang
- added -g parameter to be on pair with gcc
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4e7f95bf... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Sat May 3 09:18:40 2014 +0200
mem/f_malloc: link previous free fragment to speed up join
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=892a24f7... Author: Daniel-Constantin Mierla miconda@gmail.com Date: Fri May 2 23:58:12 2014 +0200
mem/f_malloc: check returned pointer for bitmask index
- if null, reset slot and search on bigger chunks slots