aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/segment_manager.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-07-19 12:11:16 -0400
committerDamjan Marion <dmarion@me.com>2018-07-20 17:38:35 +0000
commit508498f74d2df98e70a961d030cf0128a63a926d (patch)
treec2b9b8ddf109cc9086ac39adac812d677a58e578 /src/vnet/session/segment_manager.h
parent13637632b87938a055618f17ed21b2a54b02459d (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/vnet/session/segment_manager.h')
0 files changed, 0 insertions, 0 deletions