Re: [PATCH] vsock: make listener child lock ordering explicit

2016-06-27 Thread David Miller
From: Stefan Hajnoczi Date: Thu, 23 Jun 2016 16:28:58 +0100 > There are several places where the listener and pending or accept queue > child sockets are accessed at the same time. Lockdep is unhappy that > two locks from the same class are held. > > Tell lockdep that it

Re: [PATCH] vsock: make listener child lock ordering explicit

2016-06-24 Thread Jorgen S. Hansen
> On Jun 23, 2016, at 5:28 PM, Stefan Hajnoczi wrote: > > There are several places where the listener and pending or accept queue > child sockets are accessed at the same time. Lockdep is unhappy that > two locks from the same class are held. > > Tell lockdep that it is

[PATCH] vsock: make listener child lock ordering explicit

2016-06-23 Thread Stefan Hajnoczi
There are several places where the listener and pending or accept queue child sockets are accessed at the same time. Lockdep is unhappy that two locks from the same class are held. Tell lockdep that it is safe and document the lock ordering. Originally Claudio Imbrenda