aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAnish Bhatt <[email protected]>2014-08-20 13:44:06 -0700
committerDavid S. Miller <[email protected]>2014-08-21 21:45:36 -0700
commit29aaee65bc28cc75281dc9fe0998cc5e10ac37f9 (patch)
tree7cfffd8e08c218490a8ac8ba48ee68a6906e44eb /tools/perf/util/scripting-engines/trace-event-python.c
parent061079ac0b9be7a578dcd09f7865c2c0d6ac894a (diff)
cxgb4: Fix race condition in cleanup
There is a possible race condition when we unregister the PCI Driver and then flush/destroy the global "workq". This could lead to situations where there are tasks on the Work Queue with references to now deleted adapter data structures. Instead, have per-adapter Work Queues which were instantiated and torn down in init_one() and remove_one(), respectively. v2: Remove unnecessary call to flush_workqueue() before destroy_workqueue() Signed-off-by: Anish Bhatt <[email protected]> Signed-off-by: Casey Leedom <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions