Re: [PATCH] percpu data: only iterate over possible CPUs

From: Andrew Morton
Date: Thu Feb 09 2006 - 05:30:21 EST


Heiko Carstens <heiko.carstens@xxxxxxxxxx> wrote:
>
> > > > > aargh.
> > > > Actually, x86 appears to be the only arch which suffers this braindamage.
> > > > The rest use CPU_MASK_NONE (or just forget to initialise it and hope that
> > > > CPU_MASK_NONE equals all-zeroes).
> > >
> > > s390 will join, as soon as the cpu_possible_map fix is merged...
> >
> > What cpu_possible_map fix?
>
> This one:
>
> http://lkml.org/lkml/2006/2/8/162
>

Oh, OK. Ow, I don't think you want to do that. It means that all those
for_each_cpu() loops will now be iterating over all NR_CPUS cpus, whether
or not they're even possible.

-
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/