[lttng-dev] [PATCH 00/12] rculfhash memory managements

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Nov 28 08:43:36 EST 2011


* Lai Jiangshan (laijs at cn.fujitsu.com) wrote:
> Patch 1-9: extract memory managements (internal)APIs and prepare
>            for memory managements
> 
> (Patch 7 add general struct rcu_flavor)
> 
> Patch 10-12: Add memory managements.

All merged, thanks Lai!

Mathieu

> 
> 
> Lai Jiangshan (12):
>   introduce bucket_at() and improve readability
>   proper wrapper for bucket table alloc and free
>   it is not required that ht->t.size >= ht->min_table_size now
>   remove struct rcu_level
>   rename min_alloc_size/min_alloc_order
>   add max_nr_buckets argument
>   Add rcu_flavor
>   use rcu_flavor for rculfhash
>   remove struct rcu_table
>   move memory management code out as rculfhash-mm-order.c
>   add rculfhash-mm-chunk.c
>   add rculfhash-mm-mmap.c
> 
>  Makefile.am            |    8 +-
>  rculfhash-internal.h   |  131 +++++++++++++++
>  rculfhash-mm-chunk.c   |  107 ++++++++++++
>  rculfhash-mm-mmap.c    |  147 +++++++++++++++++
>  rculfhash-mm-order.c   |  101 ++++++++++++
>  rculfhash.c            |  417 +++++++++++++++++++-----------------------------
>  tests/test_urcu_hash.c |    4 +-
>  urcu-bp.c              |    2 +
>  urcu-bp.h              |    1 +
>  urcu-flavor.h          |   65 ++++++++
>  urcu-qsbr.c            |    2 +
>  urcu-qsbr.h            |    1 +
>  urcu.c                 |    2 +
>  urcu.h                 |    1 +
>  urcu/map/urcu-bp.h     |    2 +
>  urcu/map/urcu-qsbr.h   |    2 +
>  urcu/map/urcu.h        |    6 +
>  urcu/rculfhash.h       |   43 +++--
>  18 files changed, 768 insertions(+), 274 deletions(-)
>  create mode 100644 rculfhash-internal.h
>  create mode 100644 rculfhash-mm-chunk.c
>  create mode 100644 rculfhash-mm-mmap.c
>  create mode 100644 rculfhash-mm-order.c
>  create mode 100644 urcu-flavor.h
> 
> -- 
> 1.7.4.4
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list