diff options
| author | Lai Jiangshan <[email protected]> | 2009-01-16 16:32:25 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-01-20 13:06:59 +0100 |
| commit | 3690b5e6fd9daa030039ae9bda69044228bd476d (patch) | |
| tree | 0c728e624889c4fb32e028786c5db91bbdb5def1 /include/linux | |
| 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 <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions