[sr-dev] New commits on branch master

Daniel-Constantin Mierla miconda at gmail.com
Sat May 3 21:11:44 CEST 2014


URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8c2888fcd33bee45cb4654222da619e70ed44ecc
Author: Daniel-Constantin Mierla <miconda at 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=41a37b570758445d723d4d78b9786f8e6cb5722c
Author: Daniel-Constantin Mierla <miconda at 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=3dda7122eb3d875fa318816524c4a6741b7997a8
Author: Daniel-Constantin Mierla <miconda at 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=ace9adb04ad75aa7f35d951c966c614b7e4f60b8
Author: Daniel-Constantin Mierla <miconda at 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=4eae467f30cc1075272a8357e67783aab363a150
Author: Daniel-Constantin Mierla <miconda at 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=aac0c2119644c3e5578e979f6471acc3c0cbbf50
Author: Daniel-Constantin Mierla <miconda at 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=e67052535020fa01156219add2c8c2b7931bce26
Author: Daniel-Constantin Mierla <miconda at 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=8b1cef2c8844e6b89e23f93ceb33278977adaa13
Author: Daniel-Constantin Mierla <miconda at 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=91b3628fe41021a593c63e1e6aad0e91ffb64eb2
Author: Daniel-Constantin Mierla <miconda at 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=5baa85b048032c2b07c066fbe19d944d2cae1dee
Author: Daniel-Constantin Mierla <miconda at 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=bccf5cd079827965cfaf9b5c9864213e368db135
Author: Daniel-Constantin Mierla <miconda at 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=c996d5ddc947d05670b89215aa1c3169fd1d1dda
Author: Daniel-Constantin Mierla <miconda at 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=8ef30f91ba2a03097cb5ce717cebee4cb29c069d
Author: Daniel-Constantin Mierla <miconda at 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=ffa1beb6bb04dde73841ca076e3627dfe297305e
Author: Daniel-Constantin Mierla <miconda at 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=62a9e6f671c207f1e200f903784558fd317f8a8c
Author: Daniel-Constantin Mierla <miconda at 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=4e7f95bf315ba4d058ba039a62290b056cf503bf
Author: Daniel-Constantin Mierla <miconda at 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=892a24f7256e60e2a0116655e0052c284479b7d2
Author: Daniel-Constantin Mierla <miconda at 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




More information about the sr-dev mailing list