diff options
author | Dave Barach <dave@barachs.net> | 2018-07-19 12:11:16 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-07-20 17:38:35 +0000 |
commit | 508498f74d2df98e70a961d030cf0128a63a926d (patch) | |
tree | c2b9b8ddf109cc9086ac39adac812d677a58e578 /src/vppinfra/fheap.h | |
parent | 13637632b87938a055618f17ed21b2a54b02459d (diff) |
Fine-grained add / delete locking
Add a bucket-level lock bit. Use a spinlock only when actually
allocating, freeing, or splitting a bucket. Should improve
multi-thread add/del performance.
Change-Id: I3e40e2a8371685457f340d6584dea14e3207f2b0
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vppinfra/fheap.h')
0 files changed, 0 insertions, 0 deletions