From 97b6ea7b6369d51a451a7d5747a7939a593fdd9c Mon Sep 17 00:00:00 2001 From: Milton Miller Date: Mon, 15 Oct 2007 17:00:19 +0200 Subject: [PATCH] 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-format-patch failed