From: Nathan Lynch Date: Thu, 11 Jan 2007 07:15:28 +0000 (-0800) Subject: [PATCH] sched: tasks cannot run on cpus onlined after boot X-Git-Tag: v2.6.20-rc5~22 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5e5673f828623e58a401862b33173591faaeaff;p=pandora-kernel.git [PATCH] sched: tasks cannot run on cpus onlined after boot Commit 5c1e176781f43bc902a51e5832f789756bff911b ("sched: force /sbin/init off isolated cpus") sets init's cpus_allowed to a subset of cpu_online_map at boot time, which means that tasks won't be scheduled on cpus that are added to the system later. Make init's cpus_allowed a subset of cpu_possible_map instead. This should still preserve the behavior that Nick's change intended. Thanks to Giuliano Pochini for reporting this and testing the fix: http://ozlabs.org/pipermail/linuxppc-dev/2006-December/029397.html Signed-off-by: Nathan Lynch Acked-by: Ingo Molnar Cc: Nick Piggin Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed