[Top] [All Lists]

Re: Tracking down exception in sched.c

To: "Kevin D. Kissell" <>, "Rojhalat Ibrahim" <>
Subject: Re: Tracking down exception in sched.c
From: "Kevin D. Kissell" <>
Date: Mon, 20 Feb 2006 15:40:05 +0100
Cc: "Mark E Mason" <>, <>
Original-recipient: rfc822;
References: <> <> <>
>... if your phys_cpu_present_map
> (which is by default what gets used in MIPS as cpu_possible_map
> for the purposes of sched.c) is being properly initialized and
> maintained, the behavior of the two loops should be the same.
> Have you double-checked that?  Secondary CPUs turn generally
> set their bits in that mask in prom_build_cpu_map().

Correction.  I misremembered this.  prom_build_cpu_map()
is called only by the primary/boot CPU, prior to SMP initialization.
It's still the place where phys_cpu_present gets set up, but it
can't be set up by the secondaries.


            Kevin K.

<Prev in Thread] Current Thread [Next in Thread>