Re: Shouldn't SMP be an option?

Gregory S. Stark (gsstark@MIT.EDU)
04 Apr 1998 22:51:01 -0400


hpa@transmeta.com (H. Peter Anvin) writes:
> This was originally the case, but it caused any configuration changes
> to cause too much of the kernel to be reconfigured. What it'd really
> take to fix is for someone to go through and change all
> #include <linux/config.h> use the new smartconfig stuff.

This was sorely misguided.

If you change the SMP configuration then *of course* the whole kernel would
need to be recompiled. The way Linux SMP is coded any file that refers to the
current process structure, for example, does need to be recompiled. No amount
of smart configuration would ever change that.

Smart configuration would benefit precisely the *other* kind of configuration
options. The ones that really ought only affect a single module or group of
files. Moving SMP from .config to the Makefile didn't accomplish anything
except make it easier to build broken kernels that are partially SMP and
partially not.

greg

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