diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-01 10:12:22 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-01 10:12:22 +1030 |
commit | 9e01c1b74c9531e301c900edaa92a99fcb7738f2 (patch) | |
tree | f71425ecfecf32046bd6aecb5ca6e504e9258b30 /mm/filemap.c | |
parent | 333af15341b2f6cd813c054e1b441d7b6d8e9318 (diff) | |
download | kernel_goldelico_gta04-9e01c1b74c9531e301c900edaa92a99fcb7738f2.zip kernel_goldelico_gta04-9e01c1b74c9531e301c900edaa92a99fcb7738f2.tar.gz kernel_goldelico_gta04-9e01c1b74c9531e301c900edaa92a99fcb7738f2.tar.bz2 |
cpumask: convert kernel trace functions
Impact: Reduce future memory usage, use new cpumask API.
(Eventually, cpumask_var_t will be allocated based on nr_cpu_ids, not NR_CPUS).
Convert kernel trace functions to use struct cpumask API:
1) Use cpumask_copy/cpumask_test_cpu/for_each_cpu.
2) Use cpumask_var_t and alloc_cpumask_var/free_cpumask_var everywhere.
3) Use on_each_cpu instead of playing with current->cpus_allowed.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions