diff options
author | Dave Barach <dave@barachs.net> | 2018-02-07 13:14:06 -0500 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-02-08 10:02:16 +0000 |
commit | e7d212fe41de88863884dc24dff9e24e5f37b421 (patch) | |
tree | 4d38c30d330de2ce27207bdcee537f7874f62574 /src/vcl/vppcom.c | |
parent | db3c480e375bd7eb22c27887590c8dca07293719 (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.c')
0 files changed, 0 insertions, 0 deletions