diff options
author | Juergen Gross <[email protected]> | 2020-03-05 11:03:23 +0100 |
---|---|---|
committer | Boris Ostrovsky <[email protected]> | 2020-03-05 09:42:23 -0600 |
commit | 2f69a110e7bba3ec6bc089a2f736ca0941d887ed (patch) | |
tree | 57ffc62e0497d2f1be6ad89f9abd7c8adbdde722 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8130b9d5b5abf26f9927b487c15319a187775f34 (diff) |
xen/xenbus: fix locking
Commit 060eabe8fbe726 ("xenbus/backend: Protect xenbus callback with
lock") introduced a bug by holding a lock while calling a function
which might schedule.
Fix that by using a semaphore instead.
Fixes: 060eabe8fbe726 ("xenbus/backend: Protect xenbus callback with lock")
Signed-off-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions