diff options
author | Stefan Hajnoczi <[email protected]> | 2016-06-23 16:28:58 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-27 10:44:46 -0400 |
commit | 4192f672fae559f32d82de72a677701853cc98a7 (patch) | |
tree | 40510d67dd103d5a44cf345706ed92d6407da300 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 48f1dcb55a7d29aeb8965c567660c14d0dfd1a42 (diff) |
vsock: make listener child lock ordering explicit
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 <[email protected]> sent a similar
patch asking whether this is safe. I have audited the code and also
covered the vsock_pending_work() function.
Suggested-by: Claudio Imbrenda <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions