[libvirt PATCH 00/11] Automatic mutex management - part 3

2022-02-17 Thread Tim Wiederhake
Use the recently implemented VIR_LOCK_GUARD and VIR_WITH_MUTEX_LOCK_GUARD to simplify mutex management. Tim Wiederhake (11): test: Use automatic mutex management openvz: Use automatic mutex management remote_daemon_dispatch: Use automatic mutex management netdev: Use automatic mutex

Re: [libvirt PATCH 00/11] Automatic mutex management

2022-02-11 Thread Michal Prívozník
On 2/7/22 14:12, Tim Wiederhake wrote: > Use the recently implemented VIR_LOCK_GUARD and VIR_WITH_MUTEX_LOCK_GUARD > to simplify mutex management. > > This made a solitary "virMutexUnlock()" call without previous call to > "virMutexLock()" in ch_driver.c obvious, which is removed in patch #8. >

[libvirt PATCH 00/11] Automatic mutex management

2022-02-08 Thread Tim Wiederhake
Use the recently implemented VIR_LOCK_GUARD and VIR_WITH_MUTEX_LOCK_GUARD to simplify mutex management. This made a solitary "virMutexUnlock()" call without previous call to "virMutexLock()" in ch_driver.c obvious, which is removed in patch #8. Tim Wiederhake (11): virthreadpool: Use automatic

[libvirt PATCH 00/11] Automatic mutex management

2021-08-25 Thread Tim Wiederhake
libvirt currently manages mutexes manually. Manual mutex management suffers from the same drawbacks as manual memory management, and at least one lock-unlock mismatch exists currently in the code base, see https://listman.redhat.com/archives/libvir-list/2021-August/msg00125.html. This series lays