]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing: Don't use tracing_record_cmdline() in workqueue tracer fix
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Fri, 13 Mar 2009 00:03:04 +0000 (09:03 +0900)
committerSteven Rostedt <srostedt@redhat.com>
Fri, 13 Mar 2009 01:23:47 +0000 (21:23 -0400)
commit889a6c367283709a80dad9413488472596a1a1d2
treefabe1614e30f9d6e306376159a05e91721b6cb60
parent39842323ceb368d2ea36ab7696aedbe296e13b61
tracing: Don't use tracing_record_cmdline() in workqueue tracer fix

commit c3ffc7a40b7e94b094efe1c8ab4e24370a782b65
"Don't use tracing_record_cmdline() in workqueue tracer"
has a race window.

find_task_by_vpid() requires task_list_lock().

LKML-Reference: <20090313090042.43CD.A69D9226@jp.fujitsu.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace_workqueue.c