Re: [Lse-tech] Re: [RFC] Scalable statistics counters using kmalloc_percpu

From: Robert Love (rml@tech9.net)
Date: Fri Jul 26 2002 - 15:22:02 EST


On Fri, 2002-07-26 at 13:15, William Lee Irwin III wrote:

> On Fri, Jul 26, 2002 at 12:50:12PM -0700, Robert Love wrote:
> > In current 2.5? I thought Andrew and I fixed all those issues and
> > pushed them to Linus...
> > The `configurable NR_CPUS' patch works fine for me. I always boot with
> > NR_CPUS=2.
>
> No idea who it works for, it sure doesn't work here. Behold:

Hmm, is your CPU-space sparse?

If that is the case, and the max APIC ID is set to NR_CPUS, and the
kernel expects a 1:1 between NR_CPU value and logical CPU #... boom.

        Robert Love

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



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:25 EST