Re: why no Kconfig in "kernel" subdir?

From: Randy.Dunlap
Date: Fri Nov 14 2003 - 12:28:55 EST


On Fri, 14 Nov 2003 12:05:17 -0500 Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx> wrote:

| I was adding a new general syscall the other day, and it struck me as
| odd that there is no Kconfig in the "kernel" subdirectory.
|
| A quick search shows 36 separate config options being used in that
| subdirectory (stuff like PREEMPT, SMP, FUTEX, HOTPLUG, SYSCTL, etc).
| Why is there no Kconfig for it? As it stands, all of these have to be
| copied and pasted in every single arch. This seems odd.

In several cases I expect that you are correct.
In some cases, general config options are now going into init/Kconfig.

| Would people be open to a series of patches that create a new Kconfig
| and start moving generic stuff to it? Or are these things really
| arch-specific enough to warrent massive duplication?

I consider PREEMPT and SMP arch-specific, not generic.

Will init/Kconfig do what you want?

--
~Randy
MOTD: Always include version info.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/