From: Rusty Russell Date: Mon, 2 Nov 2009 10:07:20 +0000 (+1030) Subject: sched: Fix boot crash by zalloc()ing most of the cpu masks X-Git-Tag: v2.6.32-rc7~73^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49557e620339cb134127b5bfbcfecc06b77d0232;p=pandora-kernel.git sched: Fix boot crash by zalloc()ing most of the cpu masks I got a boot crash when forcing cpumasks offstack on 32 bit, because find_new_ilb() returned 3 on my UP system (nohz.cpu_mask wasn't zeroed). AFAICT the others need to be zeroed too: only nohz.ilb_grp_nohz_mask is initialized before use. Signed-off-by: Rusty Russell Cc: Peter Zijlstra LKML-Reference: <200911022037.21282.rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed