This is the first "real" version of the fat-rwlock patches, following
the RFC patch sent earlier.  This version fixes a number of races in
thread registration and unregistration, breaks the code up into two
pieces (ovsthread_key_t and fat_rwlock), and breaks the series up into
three patches.

Ben Pfaff (3):
  ovs-thread: Add new support for thread-specific data.
  fat-rwlock: New big but fast synchronization primitive.
  classifier: Use fat_rwlock instead of ovs_rwlock.

 lib/automake.mk         |    4 +-
 lib/classifier.c        |    4 +-
 lib/classifier.h        |    3 +-
 lib/dpif-netdev.c       |   28 ++---
 lib/fat-rwlock.c        |  275 +++++++++++++++++++++++++++++++++++++++++++++++
 lib/fat-rwlock.h        |   49 +++++++++
 lib/ovs-thread.c        |  176 +++++++++++++++++++++++++++++-
 lib/ovs-thread.h        |   63 ++++++++++-
 ofproto/ofproto-dpif.c  |    8 +-
 ofproto/ofproto.c       |   72 ++++++-------
 tests/test-classifier.c |   28 ++---
 utilities/ovs-ofctl.c   |   16 +--
 12 files changed, 640 insertions(+), 86 deletions(-)
 create mode 100644 lib/fat-rwlock.c
 create mode 100644 lib/fat-rwlock.h

-- 
1.7.10.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to