Re: Ugh in 2.1.60

Ketil Z Malde (ketil@ii.uib.no)
30 Oct 1997 08:43:34 +0100


Jauder Ho <jauderho@transmeta.com> writes:

> look people. it aint that hard to figure out how many CPUs you
> have in your machine and configure the kernel accordingly.

There's a lot of things that ain't hard, but sometimes it is easy to
overlook simple things. Don't you want your compiler to issue error
messages for obvious errors? And if it ain't hard to detect, why
couldn't the makefile/compilation detect and warn if you are compiling
SMP on UP or vice versa? Why shouldn't the kernel do it run time?

In particular, I don't think an ``Ugh'' is really helpful, compared to
``Warning: SMP kernel on UP machine - this is dangerous'' or similar.

> If you are compiling kernels, you should at least be able to modify a
> makefile else you have absolutely no business doing it.

I'm able to, but have still caught myself forgetting to fix the SMP flag
on a couple of occasions. It's about making things simple for the
user.

~kzm

-- 
If I haven't seen further, it is by standing in the footprints of giants