Re: [patch 03/10] s390: earlier initialization of cpu_possible_map

From: Dipankar Sarma
Date: Wed Feb 08 2006 - 11:38:30 EST


On Wed, Feb 08, 2006 at 01:33:37PM +0100, Heiko Carstens wrote:
> From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
>
> Initiliazing of cpu_possible_map was done in smp_prepare_cpus which is
> way too late. Therefore assign a static value to cpu_possible_map, since
> we don't have access to max_cpus in setup_arch.

With this and Ivan's alpha fix, it should now be safe to use
for_each_cpu() in vfs_caches_init() path as done by the merged
patch from Eric. I have done a quick check and couldn't find
any other late initialization of cpu_possible_map, but arch
maintainers probably can say for sure.

Thanks
Dipankar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/