tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Synchronizing if_xennet_xenbus detach with event-handling



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 <bouyer%antioche.eu.org@localhost> 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 <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index