From: David Rientjes Date: Thu, 5 Jun 2008 19:57:11 +0000 (-0700) Subject: sched: prevent bound kthreads from changing cpus_allowed X-Git-Tag: v2.6.27-rc1~1105^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9985b0bab332289f14837eff3c6e0bcc658b58f7;p=pandora-kernel.git sched: prevent bound kthreads from changing cpus_allowed Kthreads that have called kthread_bind() are bound to specific cpus, so other tasks should not be able to change their cpus_allowed from under them. Otherwise, it is possible to move kthreads, such as the migration or software watchdog threads, so they are not allowed access to the cpu they work on. Cc: Peter Zijlstra Cc: Paul Menage Cc: Paul Jackson Signed-off-by: David Rientjes Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed