On Mon, 21 Dec 1998, Linus Torvalds wrote:
> On Tue, 22 Dec 1998, Rik van Riel wrote:
> > and smp.c::smp_message_pass():
> >
> > else
> > {
> > dest=target;
> > target_map=(1<<target);
> > cpu_callin_map[0]=0;
> > }
>
> That should be
>
> dest = cpu_logical_map(target);
>
> I do believe. Does that change fix it for you?
I take the CPU number from the task_structure (p->processor).
I believe that already is the 'real' CPU number, but please
correct me if I'm wrong...
> Anyway, if you're really playing with this then I'd strongly
> suggest that before you start using it for scheduling purposes you
> verify that it actually does work with some simpler case (make
> some early boot thing that sends an IPI to the other CPU's and the
> IPI handler just does a printk() or something).
I wondered about this too. Where exactly are IPIs _received_?
I've been through quite a bit of irq and smp code, but I saw
no reference to anything reacting upon the receipt of an IPI
(or updating the stats, for that matter).
cheers,
Rik -- the flu hits, the flu hits, the flu hits -- MORE
+-------------------------------------------------------------------+
| Linux memory management tour guide. [EMAIL PROTECTED] |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]