From: Rusty Russell Date: Wed, 31 Dec 2008 23:42:22 +0000 (+1030) Subject: cpumask: convert kernel trace functions X-Git-Tag: v2.6.29-rc1~521^2~11^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e01c1b74c9531e301c900edaa92a99fcb7738f2;p=pandora-kernel.git 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 Signed-off-by: Mike Travis Acked-by: Steven Rostedt --- Reading git-diff-tree failed