Re: [PATCH 0/8] NR_CPUS: Various replacements for NR_CPUS

From: Mike Travis
Date: Mon Jul 21 2008 - 13:17:24 EST


Ingo Molnar wrote:
> * Mike Travis <travis@xxxxxxx> wrote:
>
>> I've found one old patch that seems to have been misplaced [...]
>
> How did you notice that i missed them - actual crashes, or measurable
> performance impact?

It might not have been you. I was just doing a survey again of NR_CPUS
usages and noticed something that looked familiar. (In fact there were
two patches missing but when I updated the source one of them *magically*
appeared... ;-)

I have three more cases that can be changed coming real soon now.

>
>> [...] and a few minor new instances where usage of NR_CPUS may be
>> incorrect.
>>
>> Also a fixup for CPUMASK_ALLOC is included.
>
> applied to tip/cpus4096, thanks Mike.

No, no, thank you! ;-)

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