| commit | 3690b5e6fd9daa030039ae9bda69044228bd476d | [log] [tgz] |
|---|---|---|
| author | Lai Jiangshan <laijs@cn.fujitsu.com> | Fri Jan 16 16:32:25 2009 +0800 |
| committer | Ingo Molnar <mingo@elte.hu> | Tue Jan 20 13:06:59 2009 +0100 |
| tree | 0c728e624889c4fb32e028786c5db91bbdb5def1 | |
| parent | ce5e5540c0e839781e7cd134517d5d2e9e819636 [diff] |
trace_workqueue: use percpu data for workqueue stat Impact: use percpu data instead of a global structure Use: static DEFINE_PER_CPU(struct workqueue_global_stats, all_workqueue_stat); instead of allocating a global structure. percpu data also works well on NUMA. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>