X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=init%2FKconfig;fp=init%2FKconfig;h=38416a199def24332f22692e9da1203a962a8d58;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=0295b869b86e007e0ee16b02da6c466e337f00f3;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/init/Kconfig b/init/Kconfig index 0295b869b..38416a199 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1,12 +1,3 @@ -config DEFCONFIG_LIST - string - depends on !UML - option defconfig_list - default "/lib/modules/$UNAME_RELEASE/.config" - default "/etc/kernel-config" - default "/boot/config-$UNAME_RELEASE" - default "arch/$ARCH/defconfig" - menu "Code maturity level options" config EXPERIMENTAL @@ -55,8 +46,8 @@ config LOCK_KERNEL config INIT_ENV_ARG_LIMIT int - default 32 if !UML - default 128 if UML + default 32 if !USERMODE + default 128 if USERMODE help Maximum of each of the number of arguments and environment variables passed to init from the kernel command line. @@ -159,29 +150,21 @@ config BSD_PROCESS_ACCT_V3 for processing it. A preliminary version of these tools is available at . -config TASKSTATS - bool "Export task/process statistics through netlink (EXPERIMENTAL)" - depends on NET - default n - help - Export selected statistics for tasks/processes through the - generic netlink interface. Unlike BSD process accounting, the - statistics are available during the lifetime of tasks/processes as - responses to commands. Like BSD accounting, they are sent to user - space on task exit. - - Say N if unsure. - -config TASK_DELAY_ACCT - bool "Enable per-task delay accounting (EXPERIMENTAL)" - depends on TASKSTATS - help - Collect information on time spent by a task waiting for system - resources like cpu, synchronous block I/O completion and swapping - in pages. Such statistics can help in setting a task's priorities - relative to other tasks for cpu, io, rss limits etc. +config SYSCTL + bool "Sysctl support" + ---help--- + The sysctl interface provides a means of dynamically changing + certain kernel parameters and variables on the fly without requiring + a recompile of the kernel or reboot of the system. The primary + interface consists of a system call, but if you say Y to "/proc + file system support", a tree of modifiable sysctl entries will be + generated beneath the /proc/sys directory. They are explained in the + files in . Note that enabling this + option will enlarge the kernel by at least 8 KB. - Say N if unsure. + As it is generally a good thing, you should say Y here unless + building a kernel for install/rescue disks or your system is very + limited in memory. config AUDIT bool "Auditing support" @@ -199,8 +182,7 @@ config AUDITSYSCALL help Enable low-overhead system-call auditing infrastructure that can be used independently or with another kernel subsystem, - such as SELinux. To use audit's filesystem watch feature, please - ensure that INOTIFY is configured. + such as SELinux. config IKCONFIG bool "Kernel .config support" @@ -232,18 +214,24 @@ config CPUSETS Say N if unsure. -config RELAY - bool "Kernel->user space relay support (formerly relayfs)" - help - This option enables support for relay interface support in - certain file systems (such as debugfs). - It is designed to provide an efficient mechanism for tools and - facilities to relay large amounts of data from kernel space to - user space. +source "usr/Kconfig" - If unsure, say N. +config UID16 + bool "Enable 16-bit UID system calls" if EMBEDDED + depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION) + default y + help + This enables the legacy 16-bit UID syscall wrappers. -source "usr/Kconfig" +config VM86 + depends X86 + default y + bool "Enable VM86 support" if EMBEDDED + help + This option is required by programs like DOSEMU to run 16-bit legacy + code on X86 processors. It also may be needed by software like + XFree86 to initialize some video cards via BIOS. Disabling this + option saves about 6k. config CC_OPTIMIZE_FOR_SIZE bool "Optimize for size (Look out for broken compilers!)" @@ -266,30 +254,6 @@ menuconfig EMBEDDED environments which can tolerate a "non-standard" kernel. Only use this if you really know what you are doing. -config UID16 - bool "Enable 16-bit UID system calls" if EMBEDDED - depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION) - default y - help - This enables the legacy 16-bit UID syscall wrappers. - -config SYSCTL - 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 - a recompile of the kernel or reboot of the system. The primary - interface consists of a system call, but if you say Y to "/proc - file system support", a tree of modifiable sysctl entries will be - generated beneath the /proc/sys directory. They are explained in the - files in . Note that enabling this - option will enlarge the kernel by at least 8 KB. - - As it is generally a good thing, you should say Y here unless - building a kernel for install/rescue disks or your system is very - limited in memory. - config KALLSYMS bool "Load all symbols for debugging/kksymoops" if EMBEDDED default y @@ -367,7 +331,6 @@ config BASE_FULL config FUTEX bool "Enable futex support" if EMBEDDED default y - select RT_MUTEXES help Disabling this option will cause the kernel to be built without support for "fast userspace mutexes". The resulting kernel may not @@ -391,6 +354,43 @@ config SHMEM option replaces shmem and tmpfs with the much simpler ramfs code, which may be appropriate on small systems without swap. +config CC_ALIGN_FUNCTIONS + int "Function alignment" if EMBEDDED + default 0 + help + Align the start of functions to the next power-of-two greater than n, + skipping up to n bytes. For instance, 32 aligns functions + to the next 32-byte boundary, but 24 would align to the next + 32-byte boundary only if this can be done by skipping 23 bytes or less. + Zero means use compiler's default. + +config CC_ALIGN_LABELS + int "Label alignment" if EMBEDDED + default 0 + help + Align all branch targets to a power-of-two boundary, skipping + up to n bytes like ALIGN_FUNCTIONS. This option can easily + make code slower, because it must insert dummy operations for + when the branch target is reached in the usual flow of the code. + Zero means use compiler's default. + +config CC_ALIGN_LOOPS + int "Loop alignment" if EMBEDDED + default 0 + help + Align loops to a power-of-two boundary, skipping up to n bytes. + Zero means use compiler's default. + +config CC_ALIGN_JUMPS + int "Jump alignment" if EMBEDDED + default 0 + help + Align branch targets to a power-of-two boundary, for branch + targets where the targets can only be reached by jumping, + skipping up to n bytes like ALIGN_FUNCTIONS. In this case, + no dummy operations need be executed. + Zero means use compiler's default. + config SLAB default y bool "Use full SLAB allocator" if EMBEDDED @@ -400,21 +400,8 @@ config SLAB SLOB is more space efficient but does not scale well and is more susceptible to fragmentation. -config VM_EVENT_COUNTERS - default y - bool "Enable VM event counters for /proc/vmstat" if EMBEDDED - help - VM event counters are only needed to for event counts to be - shown. They have no function for the kernel itself. This - option allows the disabling of the VM event counters. - /proc/vmstat will only show page counts. - endmenu # General setup -config RT_MUTEXES - boolean - select PLIST - config TINY_SHMEM default !SHMEM bool @@ -428,6 +415,9 @@ config SLOB default !SLAB bool +config OBSOLETE_INTERMODULE + tristate + menu "Loadable module support" config MODULES @@ -469,6 +459,15 @@ config MODULE_FORCE_UNLOAD rmmod). This is mainly for kernel developers and desperate users. If unsure, say N. +config OBSOLETE_MODPARM + bool + default y + depends on MODULES + help + You need this option to use module parameters on modules which + have not been converted to the new module parameter system yet. + If unsure, say Y. + config MODVERSIONS bool "Module versioning support" depends on MODULES @@ -492,22 +491,6 @@ config MODULE_SRCVERSION_ALL the version). With this option, such a "srcversion" field will be created for all modules. If unsure, say N. -config MODULE_SIG - bool "Module signature verification (EXPERIMENTAL)" - depends on MODULES && EXPERIMENTAL - select CRYPTO - select CRYPTO_SHA1 - select CRYPTO_SIGNATURE - help - Check modules for valid signatures upon load. - -config MODULE_SIG_FORCE - bool "Required modules to be validly signed (EXPERIMENTAL)" - depends on MODULE_SIG - help - Reject unsigned modules or signed modules for which we don't have a - key. - config KMOD bool "Automatic kernel module loading" depends on MODULES