diff options
author | David S. Miller <davem@davemloft.net> | 2008-02-23 23:38:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-23 23:38:20 -0500 |
commit | 8d3c202be23c5a915f7053ebd4e96f44700c6a62 (patch) | |
tree | e0f017aff86d3ad0b858fe85f44e11096087ed00 /init/Kconfig | |
parent | 1b04ab4597725f75f94942da9aa40daa7b9a4bd9 (diff) | |
parent | 038eb0ea04b245351be34b0ae76b55eee4603989 (diff) |
Merge branch 'master' of ../linux-2.6/
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/init/Kconfig b/init/Kconfig index 824d48cb67bf..f698a5af5007 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -311,25 +311,36 @@ config CPUSETS | |||
311 | 311 | ||
312 | Say N if unsure. | 312 | Say N if unsure. |
313 | 313 | ||
314 | config FAIR_GROUP_SCHED | 314 | config GROUP_SCHED |
315 | bool "Fair group CPU scheduler" | 315 | bool "Group CPU scheduler" |
316 | default y | 316 | default y |
317 | help | 317 | help |
318 | This feature lets CPU scheduler recognize task groups and control CPU | 318 | This feature lets CPU scheduler recognize task groups and control CPU |
319 | bandwidth allocation to such task groups. | 319 | bandwidth allocation to such task groups. |
320 | 320 | ||
321 | config FAIR_GROUP_SCHED | ||
322 | bool "Group scheduling for SCHED_OTHER" | ||
323 | depends on GROUP_SCHED | ||
324 | default y | ||
325 | |||
326 | config RT_GROUP_SCHED | ||
327 | bool "Group scheduling for SCHED_RR/FIFO" | ||
328 | depends on EXPERIMENTAL | ||
329 | depends on GROUP_SCHED | ||
330 | default n | ||
331 | |||
321 | choice | 332 | choice |
322 | depends on FAIR_GROUP_SCHED | 333 | depends on GROUP_SCHED |
323 | prompt "Basis for grouping tasks" | 334 | prompt "Basis for grouping tasks" |
324 | default FAIR_USER_SCHED | 335 | default USER_SCHED |
325 | 336 | ||
326 | config FAIR_USER_SCHED | 337 | config USER_SCHED |
327 | bool "user id" | 338 | bool "user id" |
328 | help | 339 | help |
329 | This option will choose userid as the basis for grouping | 340 | This option will choose userid as the basis for grouping |
330 | tasks, thus providing equal CPU bandwidth to each user. | 341 | tasks, thus providing equal CPU bandwidth to each user. |
331 | 342 | ||
332 | config FAIR_CGROUP_SCHED | 343 | config CGROUP_SCHED |
333 | bool "Control groups" | 344 | bool "Control groups" |
334 | depends on CGROUPS | 345 | depends on CGROUPS |
335 | help | 346 | help |
@@ -383,6 +394,14 @@ config CGROUP_MEM_CONT | |||
383 | Provides a memory controller that manages both page cache and | 394 | Provides a memory controller that manages both page cache and |
384 | RSS memory. | 395 | RSS memory. |
385 | 396 | ||
397 | Note that setting this option increases fixed memory overhead | ||
398 | associated with each page of memory in the system by 4/8 bytes | ||
399 | and also increases cache misses because struct page on many 64bit | ||
400 | systems will not fit into a single cache line anymore. | ||
401 | |||
402 | Only enable when you're ok with these trade offs and really | ||
403 | sure you need the memory controller. | ||
404 | |||
386 | config PROC_PID_CPUSET | 405 | config PROC_PID_CPUSET |
387 | bool "Include legacy /proc/<pid>/cpuset file" | 406 | bool "Include legacy /proc/<pid>/cpuset file" |
388 | depends on CPUSETS | 407 | depends on CPUSETS |