diff options
author | Mike Travis <[email protected]> | 2009-01-04 05:18:10 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-01-06 09:05:43 +0100 |
commit | e39ad415ac15116df213dfa2aa2a4f1b0857af9c (patch) | |
tree | 9db4cb172bbcf07cb9db381fbfc7e8cda33b4eda /fs/jbd2/commit.c | |
parent | 7503bfbae89eba07b46441a5d1594647f6b8ab7d (diff) |
cpumask: use work_on_cpu in acpi-cpufreq.c for read_measured_perf_ctrs
Impact: use new cpumask API to reduce stack usage
Replace the saving of current->cpus_allowed and set_cpus_allowed_ptr() with
a work_on_cpu function for read_measured_perf_ctrs().
Basically splits off the work function from get_measured_perf which is
run on the designated cpu. Moves definition of struct perf_cur out of
function local namespace, and is used as the work function argument.
References in get_measured_perf use values in the perf_cur struct.
Signed-off-by: Mike Travis <[email protected]>
Acked-by: Rusty Russell <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions