diff options
author | 2016-10-10 09:19:52 -0400 | |
---|---|---|
committer | 2016-10-19 11:00:03 -0500 | |
commit | d2fee58a3bb15b2b8f1eaff14aa3432cf0f35d8c (patch) | |
tree | f1df5567b2efcc956e5947d4256d0ee9763e0dfb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dlm: don't save callbacks after accept (diff) | |
download | wireguard-linux-d2fee58a3bb15b2b8f1eaff14aa3432cf0f35d8c.tar.xz wireguard-linux-d2fee58a3bb15b2b8f1eaff14aa3432cf0f35d8c.zip |
dlm: remove lock_sock to avoid scheduling while atomic
Before this patch, functions save_callbacks and restore_callbacks
called function lock_sock and release_sock to prevent other processes
from messing with the struct sock while the callbacks were saved and
restored. However, function add_sock calls write_lock_bh prior to
calling it save_callbacks, which disables preempts. So the call to
lock_sock would try to schedule when we can't schedule.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions