diff options
author | 2009-06-11 22:59:58 +0930 | |
---|---|---|
committer | 2009-06-15 11:49:43 -0400 | |
commit | e3f996c26ff6c4c084aaaa64dce6e54d31f517be (patch) | |
tree | d49ec5b8935a91766678d7b671ffff25ce597670 /fs/ocfs2/stack_user.c | |
parent | [CPUFREQ] cpumask: avoid playing with cpus_allowed in speedstep-ich.c (diff) | |
download | wireguard-linux-e3f996c26ff6c4c084aaaa64dce6e54d31f517be.tar.xz wireguard-linux-e3f996c26ff6c4c084aaaa64dce6e54d31f517be.zip |
[CPUFREQ] cpumask: avoid cpumask games in arch/x86/kernel/cpu/cpufreq/speedstep-centrino.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).
Use rdmsr_on_cpu and wrmsr_on_cpu instead.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
To: cpufreq@vger.kernel.org
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'fs/ocfs2/stack_user.c')
0 files changed, 0 insertions, 0 deletions