aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2019-03-11 16:02:55 -0700
committerThomas Gleixner <[email protected]>2019-03-21 12:00:18 +0100
commit82efcab3b9f3ef59e9713237c6e3c05c3a95c1ae (patch)
tree3bbd3c0bb9bd14f7274279c711c2d9940a9bd098 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff)
workqueue: Only unregister a registered lockdep key
The recent change to prevent use after free and a memory leak introduced an unconditional call to wq_unregister_lockdep() in the error handling path. If the lockdep key had not been registered yet, then the lockdep core emits a warning. Only call wq_unregister_lockdep() if wq_register_lockdep() has been called first. Fixes: 009bb421b6ce ("workqueue, lockdep: Fix an alloc_workqueue() error path") Reported-by: [email protected] Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Qian Cai <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions