[ltt-dev] [PATCH 0/5] rculfhash: rework hash table accounting

Lai Jiangshan laijs at cn.fujitsu.com
Thu Oct 27 23:57:23 EDT 2011


Use hash index as backup for cpu index and
make accounting always available when CDS_LFHT_ACCOUNTING.

Lai Jiangshan (5):
  rename percpu_count to split_count
  use hash for index if !HAVE_SCHED_GETCPU
  use DEFAULT_SPLIT_COUNT_MASK for !HAVE_SYSCONF
  fix check_resize()
  add CDS_LFHT_ACCOUNTING flag

 rculfhash.c            |  206 ++++++++++++++++++++++--------------------------
 tests/test_urcu_hash.c |    3 +-
 urcu/rculfhash.h       |    1 +
 3 files changed, 97 insertions(+), 113 deletions(-)

-- 
1.7.4.4





More information about the lttng-dev mailing list