From: Rusty Russell Date: Thu, 11 Jun 2009 13:29:58 +0000 (+0930) Subject: [CPUFREQ] cpumask: avoid playing with cpus_allowed in speedstep-ich.c X-Git-Tag: v2.6.31-rc1~284^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=394122ab144dae4b276d74644a2f11c44a60ac5c;p=pandora-kernel.git [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 To: cpufreq@vger.kernel.org Cc: Dominik Brodowski Signed-off-by: Dave Jones --- Reading git-diff-tree failed