aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig84
1 files changed, 52 insertions, 32 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 9fc0759fa942..b9923b1434a2 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -99,13 +99,12 @@ config SWAP
99 default y 99 default y
100 help 100 help
101 This option allows you to choose whether you want to have support 101 This option allows you to choose whether you want to have support
102 for socalled swap devices or swap files in your kernel that are 102 for so called swap devices or swap files in your kernel that are
103 used to provide more virtual memory than the actual RAM present 103 used to provide more virtual memory than the actual RAM present
104 in your computer. If unsure say Y. 104 in your computer. If unsure say Y.
105 105
106config SYSVIPC 106config SYSVIPC
107 bool "System V IPC" 107 bool "System V IPC"
108 depends on MMU
109 ---help--- 108 ---help---
110 Inter Process Communication is a suite of library functions and 109 Inter Process Communication is a suite of library functions and
111 system calls which let processes (running programs) synchronize and 110 system calls which let processes (running programs) synchronize and
@@ -190,40 +189,13 @@ config AUDIT
190 189
191config AUDITSYSCALL 190config AUDITSYSCALL
192 bool "Enable system-call auditing support" 191 bool "Enable system-call auditing support"
193 depends on AUDIT && (X86 || PPC || PPC64 || ARCH_S390 || IA64 || UML || SPARC64) 192 depends on AUDIT && (X86 || PPC || PPC64 || S390 || IA64 || UML || SPARC64)
194 default y if SECURITY_SELINUX 193 default y if SECURITY_SELINUX
195 help 194 help
196 Enable low-overhead system-call auditing infrastructure that 195 Enable low-overhead system-call auditing infrastructure that
197 can be used independently or with another kernel subsystem, 196 can be used independently or with another kernel subsystem,
198 such as SELinux. 197 such as SELinux.
199 198
200config HOTPLUG
201 bool "Support for hot-pluggable devices" if !ARCH_S390
202 default ARCH_S390
203 help
204 This option is provided for the case where no in-kernel-tree
205 modules require HOTPLUG functionality, but a module built
206 outside the kernel tree does. Such modules require Y here.
207
208config KOBJECT_UEVENT
209 bool "Kernel Userspace Events" if EMBEDDED
210 depends on NET
211 default y
212 help
213 This option enables the kernel userspace event layer, which is a
214 simple mechanism for kernel-to-user communication over a netlink
215 socket.
216 The goal of the kernel userspace events layer is to provide a simple
217 and efficient events system, that notifies userspace about kobject
218 state changes. This will enable applications to just listen for
219 events instead of polling system devices and files.
220 Hotplug events (kobject addition and removal) are also available on
221 the netlink socket in addition to the execution of /sbin/hotplug if
222 CONFIG_HOTPLUG is enabled.
223
224 Say Y, unless you are building a system requiring minimal memory
225 consumption.
226
227config IKCONFIG 199config IKCONFIG
228 bool "Kernel .config support" 200 bool "Kernel .config support"
229 ---help--- 201 ---help---
@@ -256,6 +228,23 @@ config CPUSETS
256 228
257source "usr/Kconfig" 229source "usr/Kconfig"
258 230
231config UID16
232 bool "Enable 16-bit UID system calls" if EMBEDDED
233 depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
234 default y
235 help
236 This enables the legacy 16-bit UID syscall wrappers.
237
238config VM86
239 depends X86
240 default y
241 bool "Enable VM86 support" if EMBEDDED
242 help
243 This option is required by programs like DOSEMU to run 16-bit legacy
244 code on X86 processors. It also may be needed by software like
245 XFree86 to initialize some video cards via BIOS. Disabling this
246 option saves about 6k.
247
259config CC_OPTIMIZE_FOR_SIZE 248config CC_OPTIMIZE_FOR_SIZE
260 bool "Optimize for size (Look out for broken compilers!)" 249 bool "Optimize for size (Look out for broken compilers!)"
261 default y 250 default y
@@ -308,6 +297,15 @@ config KALLSYMS_EXTRA_PASS
308 you wait for kallsyms to be fixed. 297 you wait for kallsyms to be fixed.
309 298
310 299
300config HOTPLUG
301 bool "Support for hot-pluggable devices" if EMBEDDED
302 default y
303 help
304 This option is provided for the case where no hotplug or uevent
305 capabilities is wanted by the kernel. You should only consider
306 disabling this option for embedded systems that do not use modules, a
307 dynamic /dev tree, or dynamic device discovery. Just say Y.
308
311config PRINTK 309config PRINTK
312 default y 310 default y
313 bool "Enable support for printk" if EMBEDDED 311 bool "Enable support for printk" if EMBEDDED
@@ -328,6 +326,12 @@ config BUG
328 option for embedded systems with no facilities for reporting errors. 326 option for embedded systems with no facilities for reporting errors.
329 Just say Y. 327 Just say Y.
330 328
329config ELF_CORE
330 default y
331 bool "Enable ELF core dumps" if EMBEDDED
332 help
333 Enable support for generating core dumps. Disabling saves about 4k.
334
331config BASE_FULL 335config BASE_FULL
332 default y 336 default y
333 bool "Enable full-sized data structures for core" if EMBEDDED 337 bool "Enable full-sized data structures for core" if EMBEDDED
@@ -399,6 +403,15 @@ config CC_ALIGN_JUMPS
399 no dummy operations need be executed. 403 no dummy operations need be executed.
400 Zero means use compiler's default. 404 Zero means use compiler's default.
401 405
406config SLAB
407 default y
408 bool "Use full SLAB allocator" if EMBEDDED
409 help
410 Disabling this replaces the advanced SLAB allocator and
411 kmalloc support with the drastically simpler SLOB allocator.
412 SLOB is more space efficient but does not scale well and is
413 more susceptible to fragmentation.
414
402endmenu # General setup 415endmenu # General setup
403 416
404config TINY_SHMEM 417config TINY_SHMEM
@@ -410,6 +423,13 @@ config BASE_SMALL
410 default 0 if BASE_FULL 423 default 0 if BASE_FULL
411 default 1 if !BASE_FULL 424 default 1 if !BASE_FULL
412 425
426config SLOB
427 default !SLAB
428 bool
429
430config OBSOLETE_INTERMODULE
431 tristate
432
413menu "Loadable module support" 433menu "Loadable module support"
414 434
415config MODULES 435config MODULES
@@ -461,8 +481,8 @@ config OBSOLETE_MODPARM
461 If unsure, say Y. 481 If unsure, say Y.
462 482
463config MODVERSIONS 483config MODVERSIONS
464 bool "Module versioning support (EXPERIMENTAL)" 484 bool "Module versioning support"
465 depends on MODULES && EXPERIMENTAL 485 depends on MODULES
466 help 486 help
467 Usually, you have to use modules compiled with your kernel. 487 Usually, you have to use modules compiled with your kernel.
468 Saying Y here makes it sometimes possible to use modules 488 Saying Y here makes it sometimes possible to use modules