From: Milton Miller Date: Mon, 15 Oct 2007 15:00:19 +0000 (+0200) Subject: sched: domain sysctl fixes: use for_each_online_cpu() X-Git-Tag: v2.6.24-rc1~1289^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97b6ea7b6369d51a451a7d5747a7939a593fdd9c;p=pandora-kernel.git sched: domain sysctl fixes: use for_each_online_cpu() init_sched_domain_sysctl was walking cpus 0-n and referencing per_cpu variables. If the cpus_possible mask is not contigious this will result in a crash referencing unallocated data. If the online mask is not contigious then we would show offline cpus and miss online ones. Signed-off-by: Milton Miller Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed