public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* why no Kconfig in "kernel" subdir?
@ 2003-11-14 17:05 Chris Friesen
  2003-11-14 17:23 ` Randy.Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Friesen @ 2003-11-14 17:05 UTC (permalink / raw)
  To: linux-kernel


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.

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?

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why no Kconfig in "kernel" subdir?
  2003-11-14 17:05 why no Kconfig in "kernel" subdir? Chris Friesen
@ 2003-11-14 17:23 ` Randy.Dunlap
  2003-11-14 21:34   ` Chris Friesen
  0 siblings, 1 reply; 4+ messages in thread
From: Randy.Dunlap @ 2003-11-14 17:23 UTC (permalink / raw)
  To: Chris Friesen; +Cc: linux-kernel

On Fri, 14 Nov 2003 12:05:17 -0500 Chris Friesen <cfriesen@nortelnetworks.com> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why no Kconfig in "kernel" subdir?
  2003-11-14 17:23 ` Randy.Dunlap
@ 2003-11-14 21:34   ` Chris Friesen
  2003-11-14 22:07     ` Randy.Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Friesen @ 2003-11-14 21:34 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-kernel

Randy.Dunlap wrote:


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

Interesting.  Might I ask why?  I thought that most of PREEMPT was 
pretty arch-neutral.

> Will init/Kconfig do what you want?

As long as there is some place to put generic options that are 
applicable to the system as a whole, then I'm happy.

Chris



-- 
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why no Kconfig in "kernel" subdir?
  2003-11-14 21:34   ` Chris Friesen
@ 2003-11-14 22:07     ` Randy.Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2003-11-14 22:07 UTC (permalink / raw)
  To: Chris Friesen; +Cc: linux-kernel

On Fri, 14 Nov 2003 16:34:26 -0500 Chris Friesen <cfriesen@nortelnetworks.com> wrote:

| Randy.Dunlap wrote:
| 
| 
| > I consider PREEMPT and SMP arch-specific, not generic.
| 
| Interesting.  Might I ask why?  I thought that most of PREEMPT was 
| pretty arch-neutral.

Right, most of it is arch-neutral.
It appears that PA-RISC doesn't support PREEMPT:

include/asm-parisc/hardirq.h:
#ifdef CONFIG_PREEMPT
# error CONFIG_PREEMT currently not supported.
  [complete with typo]

and UML doesn't support PREEMPT either.


| > Will init/Kconfig do what you want?
| 
| As long as there is some place to put generic options that are 
| applicable to the system as a whole, then I'm happy.

I expect that it's workable.

--
~Randy
MOTD:  Always include version info.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-14 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-14 17:05 why no Kconfig in "kernel" subdir? Chris Friesen
2003-11-14 17:23 ` Randy.Dunlap
2003-11-14 21:34   ` Chris Friesen
2003-11-14 22:07     ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox