aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-05-19 01:09:05 -0400
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-05-19 01:09:05 -0400
commitc203e45f069af47ca7623e4dcd8c00bfba2722e4 (patch)
tree4563115b6565dcfd97015c1c9366fb3d07cabf19 /init/Kconfig
parenta94477da38e0b261a7ecea71f4c95a3bcd5be69c (diff)
parentb8291ad07a7f3b5b990900f0001198ac23ba893e (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig71
1 files changed, 59 insertions, 12 deletions
diff --git a/init/Kconfig b/init/Kconfig
index da071c4bbfb7..6135d07f31ec 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -259,17 +259,14 @@ config IKCONFIG_PROC
259config LOG_BUF_SHIFT 259config LOG_BUF_SHIFT
260 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" 260 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
261 range 12 21 261 range 12 21
262 default 17 if S390 || LOCKDEP 262 default 17
263 default 16 if X86_NUMAQ || IA64
264 default 15 if SMP
265 default 14
266 help 263 help
267 Select kernel log buffer size as a power of 2. 264 Select kernel log buffer size as a power of 2.
268 Defaults and Examples: 265 Examples:
269 17 => 128 KB for S/390 266 17 => 128 KB
270 16 => 64 KB for x86 NUMAQ or IA-64 267 16 => 64 KB
271 15 => 32 KB for SMP 268 15 => 32 KB
272 14 => 16 KB for uniprocessor 269 14 => 16 KB
273 13 => 8 KB 270 13 => 8 KB
274 12 => 4 KB 271 12 => 4 KB
275 272
@@ -284,6 +281,7 @@ config CGROUPS
284config CGROUP_DEBUG 281config CGROUP_DEBUG
285 bool "Example debug cgroup subsystem" 282 bool "Example debug cgroup subsystem"
286 depends on CGROUPS 283 depends on CGROUPS
284 default n
287 help 285 help
288 This option enables a simple cgroup subsystem that 286 This option enables a simple cgroup subsystem that
289 exports useful debugging information about the cgroups 287 exports useful debugging information about the cgroups
@@ -300,6 +298,13 @@ config CGROUP_NS
300 for instance virtual servers and checkpoint/restart 298 for instance virtual servers and checkpoint/restart
301 jobs. 299 jobs.
302 300
301config CGROUP_DEVICE
302 bool "Device controller for cgroups"
303 depends on CGROUPS && EXPERIMENTAL
304 help
305 Provides a cgroup implementing whitelists for devices which
306 a process in the cgroup can mknod or open.
307
303config CPUSETS 308config CPUSETS
304 bool "Cpuset support" 309 bool "Cpuset support"
305 depends on SMP && CGROUPS 310 depends on SMP && CGROUPS
@@ -311,9 +316,16 @@ config CPUSETS
311 316
312 Say N if unsure. 317 Say N if unsure.
313 318
319#
320# Architectures with an unreliable sched_clock() should select this:
321#
322config HAVE_UNSTABLE_SCHED_CLOCK
323 bool
324
314config GROUP_SCHED 325config GROUP_SCHED
315 bool "Group CPU scheduler" 326 bool "Group CPU scheduler"
316 default y 327 depends on EXPERIMENTAL
328 default n
317 help 329 help
318 This feature lets CPU scheduler recognize task groups and control CPU 330 This feature lets CPU scheduler recognize task groups and control CPU
319 bandwidth allocation to such task groups. 331 bandwidth allocation to such task groups.
@@ -321,7 +333,7 @@ config GROUP_SCHED
321config FAIR_GROUP_SCHED 333config FAIR_GROUP_SCHED
322 bool "Group scheduling for SCHED_OTHER" 334 bool "Group scheduling for SCHED_OTHER"
323 depends on GROUP_SCHED 335 depends on GROUP_SCHED
324 default y 336 default GROUP_SCHED
325 337
326config RT_GROUP_SCHED 338config RT_GROUP_SCHED
327 bool "Group scheduling for SCHED_RR/FIFO" 339 bool "Group scheduling for SCHED_RR/FIFO"
@@ -373,9 +385,13 @@ config RESOURCE_COUNTERS
373 infrastructure that works with cgroups 385 infrastructure that works with cgroups
374 depends on CGROUPS 386 depends on CGROUPS
375 387
388config MM_OWNER
389 bool
390
376config CGROUP_MEM_RES_CTLR 391config CGROUP_MEM_RES_CTLR
377 bool "Memory Resource Controller for Control Groups" 392 bool "Memory Resource Controller for Control Groups"
378 depends on CGROUPS && RESOURCE_COUNTERS 393 depends on CGROUPS && RESOURCE_COUNTERS
394 select MM_OWNER
379 help 395 help
380 Provides a memory resource controller that manages both page cache and 396 Provides a memory resource controller that manages both page cache and
381 RSS memory. 397 RSS memory.
@@ -388,6 +404,9 @@ config CGROUP_MEM_RES_CTLR
388 Only enable when you're ok with these trade offs and really 404 Only enable when you're ok with these trade offs and really
389 sure you need the memory resource controller. 405 sure you need the memory resource controller.
390 406
407 This config option also selects MM_OWNER config option, which
408 could in turn add some fork/exit overhead.
409
391config SYSFS_DEPRECATED 410config SYSFS_DEPRECATED
392 bool 411 bool
393 412
@@ -538,6 +557,17 @@ config SYSCTL_SYSCALL
538 557
539 If unsure say Y here. 558 If unsure say Y here.
540 559
560config SYSCTL_SYSCALL_CHECK
561 bool "Sysctl checks" if EMBEDDED
562 depends on SYSCTL_SYSCALL
563 default y
564 ---help---
565 sys_sysctl uses binary paths that have been found challenging
566 to properly maintain and use. This enables checks that help
567 you to keep things correct.
568
569 If unsure say Y here.
570
541config KALLSYMS 571config KALLSYMS
542 bool "Load all symbols for debugging/ksymoops" if EMBEDDED 572 bool "Load all symbols for debugging/ksymoops" if EMBEDDED
543 default y 573 default y
@@ -604,6 +634,14 @@ config ELF_CORE
604 help 634 help
605 Enable support for generating core dumps. Disabling saves about 4k. 635 Enable support for generating core dumps. Disabling saves about 4k.
606 636
637config PCSPKR_PLATFORM
638 bool "Enable PC-Speaker support" if EMBEDDED
639 depends on ALPHA || X86 || MIPS || PPC_PREP || PPC_CHRP || PPC_PSERIES
640 default y
641 help
642 This option allows to disable the internal PC-Speaker
643 support, saving some memory.
644
607config COMPAT_BRK 645config COMPAT_BRK
608 bool "Disable heap randomization" 646 bool "Disable heap randomization"
609 default y 647 default y
@@ -697,7 +735,7 @@ config VM_EVENT_COUNTERS
697config SLUB_DEBUG 735config SLUB_DEBUG
698 default y 736 default y
699 bool "Enable SLUB debugging support" if EMBEDDED 737 bool "Enable SLUB debugging support" if EMBEDDED
700 depends on SLUB 738 depends on SLUB && SYSFS
701 help 739 help
702 SLUB has extensive debug support features. Disabling these can 740 SLUB has extensive debug support features. Disabling these can
703 result in significant savings in code size. This also disables 741 result in significant savings in code size. This also disables
@@ -802,6 +840,15 @@ menuconfig MODULES
802 840
803 If unsure, say Y. 841 If unsure, say Y.
804 842
843config MODULE_FORCE_LOAD
844 bool "Forced module loading"
845 depends on MODULES
846 default n
847 help
848 Allow loading of modules without version information (ie. modprobe
849 --force). Forced module loading sets the 'F' (forced) taint flag and
850 is usually a really bad idea.
851
805config MODULE_UNLOAD 852config MODULE_UNLOAD
806 bool "Module unloading" 853 bool "Module unloading"
807 depends on MODULES 854 depends on MODULES