smp_processor_id()?

Paul Rusty Russell (Paul.Russell@rustcorp.com.au)
Sat, 05 Dec 1998 16:28:10 +1130


In message <19981203114846.L435@osiris.ml.org> you write:
> > If this prints 1, that's the problem.
>
> It's very possible that this routine is getting wrong information. My linux
> box has two CPU's, but they're numbered 0 and 4 for some reason. I will
> apply the patch this afternoon and try again.

You mean that smp_processor_id() returns 0 and 4?

I assumed smp_processor_id() < smp_num_cpus: SMP hackers, is this
false?

If so, I have to find a new upper bound for smp_processor_id() for
SMP, or rewrite much of ip_fw.c...

Rusty.

--
 .sig lost in the mail.

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