linux/arch/x86/kernel/cpu/cpufreq
Rusty Russell 394122ab14 [CPUFREQ] cpumask: avoid playing with cpus_allowed in speedstep-ich.c
Impact: don't play with current's cpumask

It's generally a very bad idea to mug some process's cpumask: it could
legitimately and reasonably be changed by root, which could break us
(if done before our code) or them (if we restore the wrong value).

We use smp_call_function_single: this had the advantage of being more
efficient, too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
To: cpufreq@vger.kernel.org
Cc: Dominik Brodowski <linux@brodo.de>
Signed-off-by: Dave Jones <davej@redhat.com>
2009-06-15 11:49:43 -04:00
..
Kconfig CPUFREQ: Mark e_powersaver driver as EXPERIMENTAL and DANGEROUS 2009-06-10 15:22:44 -07:00
Makefile [CPUFREQ] Change link order of x86 cpufreq modules 2009-02-24 22:47:32 -05:00
acpi-cpufreq.c CPUFREQ: Enable acpi-cpufreq driver for VIA/Centaur CPUs 2009-06-10 15:22:44 -07:00
cpufreq-nforce2.c [CPUFREQ] Make cpufreq-nforce2 less obnoxious 2009-02-24 22:47:32 -05:00
e_powersaver.c Merge branch 'core/percpu' into percpu-cpumask-x86-for-linus-2 2009-03-27 17:28:43 +01:00
elanfreq.c [CPUFREQ] checkpatch cleanups for elanfreq 2009-02-24 22:47:28 -05:00
gx-suspmod.c [CPUFREQ] checkpatch cleanups for gx-suspmod 2009-02-24 22:47:29 -05:00
longhaul.c ACPI: cpufreq: remove dupilcated #include 2009-04-07 01:39:14 -04:00
longhaul.h [CPUFREQ] checkpatch cleanups for longhaul 2009-02-24 22:47:29 -05:00
longrun.c [CPUFREQ] checkpatch cleanups for longrun 2009-02-24 22:47:29 -05:00
p4-clockmod.c [CPUFREQ] add atom family to p4-clockmod 2009-05-26 12:04:50 -04:00
powernow-k6.c [CPUFREQ] checkpatch cleanups for powernow-k6 2009-02-24 22:47:29 -05:00
powernow-k7.c cpumask: alloc zeroed cpumask for static cpumask_var_ts 2009-06-09 22:30:27 +09:30
powernow-k7.h
powernow-k8.c [CPUFREQ] powernow-k8: get drv data for correct CPU 2009-06-15 11:49:42 -04:00
powernow-k8.h [CPUFREQ] powernow-k8: Always compile powernow-k8 driver with ACPI support 2009-02-24 22:47:31 -05:00
sc520_freq.c [CPUFREQ] checkpatch cleanups for sc520 2009-02-24 22:47:29 -05:00
speedstep-centrino.c cpumask: alloc zeroed cpumask for static cpumask_var_ts 2009-06-09 22:30:27 +09:30
speedstep-ich.c [CPUFREQ] cpumask: avoid playing with cpus_allowed in speedstep-ich.c 2009-06-15 11:49:43 -04:00
speedstep-lib.c [CPUFREQ] cpumask: avoid playing with cpus_allowed in speedstep-ich.c 2009-06-15 11:49:43 -04:00
speedstep-lib.h [CPUFREQ] checkpatch cleanups for speedstep related drivers. 2009-02-24 22:47:30 -05:00
speedstep-smi.c [CPUFREQ] checkpatch cleanups for speedstep related drivers. 2009-02-24 22:47:30 -05:00