Re: smp_processor_id()?

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Sun, 06 Dec 1998 14:18:34 -0500


In message <19981206033230.B21186@osiris.ml.org>, Brian Ristuccia writes:
+-----
| On Sat, Dec 05, 1998 at 04:28:10PM +1130, Paul Rusty Russell wrote:
| > In message <19981203114846.L435@osiris.ml.org> you write:
| > > It's very possible that this routine is getting wrong information. My lin
| ux
| > > 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?
|
| Not exactly sure. Here's what /proc/cpuinfo has to say:
|
| processor : 0
> ( . . . )
| processor : 4
+--->8

FWIW my dual-CPU testbed machine at CMU does the same. It's dual PPro200
IIRC (it's running Solaris x86 at the moment so can't check).

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			 KF8NH
			  Kiss my bits, Billy-boy.

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