aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorXiaotian Feng <[email protected]>2012-11-13 19:47:36 +0000
committerDavid S. Miller <[email protected]>2012-11-14 21:50:10 -0500
commit71c6c837a0fe9d291e0764503f09dac0fec59ce1 (patch)
tree64fc5d4c2cf468c841050bed08774bd254d5edbf /tools/perf/util/trace-event-scripting.c
parentb2942004fb5c9f3304b77e187b8a1977b3626c9b (diff)
drivers/net: fix tasklet misuse issue
In commit 175c0dff, drivers uses tasklet_kill to avoid put disabled tasklet on the tasklet vec. But some of the drivers uses tasklet_init & tasklet_disable in the driver init code, then tasklet_enable when it is opened. This makes tasklet_enable on a killed tasklet and make ksoftirqd crazy then. Normally, drivers should use tasklet_init/tasklet_kill on device open/remove, and use tasklet_disable/tasklet_enable on device suspend/resume. Reported-by: Peter Wu <[email protected]> Tested-by: Peter Wu <[email protected]> Signed-off-by: Xiaotian Feng <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions