Re: Avoiding SMP

Sean M. Kelly (smkelly@zombie.org)
Tue, 10 Mar 1998 23:44:33 -0600 (CST)


On Tue, 10 Mar 1998, dan singhal wrote:

[snip]
:Just out of curiosity ...
:I've been just doing make on a uni-processor machine (UP board, too), so
:i've been getting SMP kernels for a while ...
:
:1) does this matter? will it cause any problems of any sort?
:2) does the = ? mean anything, or is it just defining SMP? I have a
: friend who is adding a second processor soon, and keeps insisting
: that he will have to change it to SMP = 2 to make it recognize the
: second processor ... does the number matter at all?
:
:thanx!
:
:--dan
:

I also have a single processor machine and am no official on the subject,
but I can tell you the following:

1) I don't know if it matters greatly, but I did notice that the APM
driver does not work -- it's not broken, it just says it will not operate
on SMP systems.

1) In the Makefile, you'll see:
ifdef SMP
CFLAGS += -D__SMP__
AFLAGS += -D__SMP__
endif

This means the value of the SMP = ? does not result in any direct changes
on the kernel. If the SMP variable is defined or non-zero, SMP=1, then
the kernel is compiled with SMP support. If it is zero or undefined, then
SMP is not compiled in the kernel.

To make it simple, SMP=2 doesn't mean two processors :>

-----
Sean M. Kelly
smkelly@zombie.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu