Right, and I see where this is happening for the event handler but not the detach handler (xs watch thread). I'll add that in for my testing. Thanks.
On Sun, Feb 7, 2016 at 10:04 AM, Manuel Bouyer <bou...@antioche.eu.org> wrote: > On Sun, Feb 07, 2016 at 09:59:19AM -0800, Rohan Desai wrote: > > That's what I expected to be the synchronization technique at first but I > > don't see the lock being taken anywhere on the watch thread's call stack > > (xenwatch_thread, otherend_changed, config_detach, xennet_xenbus_detach). > > the kernel_lock is automatically taken for drivers that are > not marked MPSAFE > > -- > Manuel Bouyer <bou...@antioche.eu.org> > NetBSD: 26 ans d'experience feront toujours la difference > -- >