All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Make sysctl obligatory except under CONFIG_EMBEDDED
@ 2006-05-29 23:34 H. Peter Anvin
  2006-05-30  1:07 ` Bernd Eckenfels
  0 siblings, 1 reply; 3+ messages in thread
From: H. Peter Anvin @ 2006-05-29 23:34 UTC (permalink / raw)
  To: akpm, linux-kernel

From: H. Peter Anvin <hpa@zytor.com>

This patch makes sysctl non-optional unless EMBEDDED is set.  There
are a number of interfaces exposed via sysctl, enough that it has to
be considered core kernel functionality at this point.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>

diff --git a/init/Kconfig b/init/Kconfig
index 3b36a1d..9087910 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -151,7 +151,8 @@ config BSD_PROCESS_ACCT_V3
 	  at <http://www.physik3.uni-rostock.de/tim/kernel/utils/acct/>.
 
 config SYSCTL
-	bool "Sysctl support"
+	bool "Sysctl support" if EMBEDDED
+	default y
 	---help---
 	  The sysctl interface provides a means of dynamically changing
 	  certain kernel parameters and variables on the fly without requiring

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

* Re: [PATCH] Make sysctl obligatory except under CONFIG_EMBEDDED
  2006-05-29 23:34 [PATCH] Make sysctl obligatory except under CONFIG_EMBEDDED H. Peter Anvin
@ 2006-05-30  1:07 ` Bernd Eckenfels
  2006-05-30 10:49   ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Eckenfels @ 2006-05-30  1:07 UTC (permalink / raw)
  To: linux-kernel

H. Peter Anvin <hpa@zytor.com> wrote:
> This patch makes sysctl non-optional unless EMBEDDED is set.  There
> are a number of interfaces exposed via sysctl, enough that it has to
> be considered core kernel functionality at this point.

is this to help the user to configure the kernel or is it to remove
complexity (you just introduced some)

Gruss
Bernd

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

* Re: [PATCH] Make sysctl obligatory except under CONFIG_EMBEDDED
  2006-05-30  1:07 ` Bernd Eckenfels
@ 2006-05-30 10:49   ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2006-05-30 10:49 UTC (permalink / raw)
  To: Bernd Eckenfels; +Cc: linux-kernel

On Tue, May 30, 2006 at 03:07:50AM +0200, Bernd Eckenfels wrote:
> H. Peter Anvin <hpa@zytor.com> wrote:
> > This patch makes sysctl non-optional unless EMBEDDED is set.  There
> > are a number of interfaces exposed via sysctl, enough that it has to
> > be considered core kernel functionality at this point.
> 
> is this to help the user to configure the kernel or is it to remove
> complexity (you just introduced some)

Obviously the first.

I don't see how his patch affects complexity in any way. The patch is 
both small and obvious (and CONFIG_SYSCTL=n is still a valid and 
supported configuration).

> Gruss
> Bernd

cu
Adrian

BTW: Dropping people from the Cc is considered impolite on this list.

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

end of thread, other threads:[~2006-05-30 10:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-29 23:34 [PATCH] Make sysctl obligatory except under CONFIG_EMBEDDED H. Peter Anvin
2006-05-30  1:07 ` Bernd Eckenfels
2006-05-30 10:49   ` Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.