summaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-02-07 13:14:06 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2018-02-08 10:02:16 +0000
commite7d212fe41de88863884dc24dff9e24e5f37b421 (patch)
tree4d38c30d330de2ce27207bdcee537f7874f62574 /src/vcl/vppcom.h
parentdb3c480e375bd7eb22c27887590c8dca07293719 (diff)
Minimize bihash memory consumption
Reference-count the number of entries in each bucket. If the reference count goes to zero, free the backing store. Add long-term churn-testing to test_bihash_template.c, thanks to Andrew Yourtchenko for the initial implementation. Change-Id: I4fbd9229cacfaba8027a85cbf87b74afdead6e39 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vcl/vppcom.h')
0 files changed, 0 insertions, 0 deletions