mbox series

[ovs-dev,v1,0/2] improve cmap read-write concurrency

Message ID 20191118024519.11367-1-Yanqin.Wei@arm.com
Headers show
Series improve cmap read-write concurrency | expand

Message

Yanqin Wei Nov. 18, 2019, 2:45 a.m. UTC
1. add thread fence to ensure hash setting safe.
2. make reader not blocked by writer.

Yanqin Wei (2):
  [ovs-dev] [PATCH 1/2] cmap: add thread fence for slot update
  [ovs-dev] [PATCH 2/2] cmap: non-blocking cmap lookup

 lib/cmap.c | 159 ++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 103 insertions(+), 56 deletions(-)