[libvirt PATCH 00/12] Automatic mutex management - part 4

Tim Wiederhake posted 12 patches 2 years, 1 month ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20220309110230.24213-1-twiederh@redhat.com
There is a newer version of this series
src/conf/nwfilter_ipaddrmap.c          |  80 ++---
src/conf/virnwfilterobj.h              |   1 -
src/nwfilter/nwfilter_dhcpsnoop.c      | 393 ++++++++-----------------
src/nwfilter/nwfilter_driver.c         | 175 +++++------
src/nwfilter/nwfilter_gentech_driver.c |  34 +--
src/nwfilter/nwfilter_learnipaddr.c    |  83 ++----
src/qemu/qemu_conf.c                   |  70 ++---
src/remote/remote_daemon_stream.c      |  34 +--
src/util/virnetlink.c                  | 101 +++----
9 files changed, 357 insertions(+), 614 deletions(-)
[libvirt PATCH 00/12] Automatic mutex management - part 4
Posted by Tim Wiederhake 2 years, 1 month ago
Use the recently implemented VIR_LOCK_GUARD and VIR_WITH_MUTEX_LOCK_GUARD
to simplify mutex management.

Tim Wiederhake (12):
  nwfilter_driver: Statically initialize mutex
  nwfilter_driver: Split up nwfilterStateCleanup
  nwfilter_driver: Use automatic mutex management
  nwfilter_gentech: Use automatic mutex management
  nwfilter_dhcpsnoop: Replace virNWFilterSnoopActiveLock macros
  nwfilter_dhcpsnoop: Replace virNWFilterSnoopLock macros
  nwfilter_dhcpsnoop: Replace virNWFilterSnoopReqLock functions
  nwfilter_learnipaddr: Use automatic mutex management
  nwfilter_ipaddrmap: Use automatic mutex management
  virnetlink: Use automatic memory management
  remote_daemon_stream: Use automatic memory management
  qemu_conf: Use automatic memory management

 src/conf/nwfilter_ipaddrmap.c          |  80 ++---
 src/conf/virnwfilterobj.h              |   1 -
 src/nwfilter/nwfilter_dhcpsnoop.c      | 393 ++++++++-----------------
 src/nwfilter/nwfilter_driver.c         | 175 +++++------
 src/nwfilter/nwfilter_gentech_driver.c |  34 +--
 src/nwfilter/nwfilter_learnipaddr.c    |  83 ++----
 src/qemu/qemu_conf.c                   |  70 ++---
 src/remote/remote_daemon_stream.c      |  34 +--
 src/util/virnetlink.c                  | 101 +++----
 9 files changed, 357 insertions(+), 614 deletions(-)

-- 
2.31.1