Re: [libvirt] [PATCH 5/5] nodedev: Protect every access to udev_monitor by locking the driver

2017-08-17 Thread Erik Skultety
On Tue, Aug 01, 2017 at 04:13:55PM -0400, John Ferlan wrote: > > > On 07/26/2017 02:44 AM, Erik Skultety wrote: > > Since @udev_monitor isn't immutable within the driver, we need to > > protect every access to it by locking the driver, so that no spurious > > action changing the pointer while one

Re: [libvirt] [PATCH 5/5] nodedev: Protect every access to udev_monitor by locking the driver

2017-08-01 Thread John Ferlan
On 07/26/2017 02:44 AM, Erik Skultety wrote: > Since @udev_monitor isn't immutable within the driver, we need to > protect every access to it by locking the driver, so that no spurious > action changing the pointer while one thread is actively using it might > occur. This patch just takes some

[libvirt] [PATCH 5/5] nodedev: Protect every access to udev_monitor by locking the driver

2017-07-26 Thread Erik Skultety
Since @udev_monitor isn't immutable within the driver, we need to protect every access to it by locking the driver, so that no spurious action changing the pointer while one thread is actively using it might occur. This patch just takes some precaution measures. Signed-off-by: Erik Skultety