CGROUPS: Group the CGROUPS Kconfig entries to be consecutive.
PATCH 1/1 CGROUPS: Group the CGROUPS Kconfig entries to be consecutive.
Move a few CGROUPS-related Kconfig entries so that they appear consecutively when running "make menuconfig." This shouldn't affect the functionality.
---
init/Kconfig +36 -36
@@ -317,6 +317,42 @@ config CPUSETS Say N if unsure. +config CGROUP_CPUACCT + bool "Simple CPU accounting cgroup subsystem" + depends on CGROUPS + help + Provides a simple Resource Controller for monitoring the + total CPU consumed by the tasks in a cgroup + +config RESOURCE_COUNTERS + bool "Resource counters" + help + This option enables controller independent resource accounting + infrastructure that works with cgroups + depends on CGROUPS + +config CGROUP_MEM_RES_CTLR + bool "Memory Resource Controller for Control Groups" + depends on CGROUPS && RESOURCE_COUNTERS + select MM_OWNER + help + Provides a memory resource controller that manages both page cache and + RSS memory. + + Note that setting this option increases fixed memory overhead + associated with each page of memory in the system by 4/8 bytes + and also increases cache misses because struct page on many 64bit + systems will not fit into a single cache line anymore. + + Only enable when you're ok with these trade offs and really + sure you need the memory resource controller. + + This config option also selects MM_OWNER config option, which + could in turn add some fork/exit overhead. + +config MM_OWNER + bool + # # Architectures with an unreliable sched_clock() should select this: #
@@ -372,42 +408,6 @@ config CGROUP_SCHED endchoice -config CGROUP_CPUACCT - bool "Simple CPU accounting cgroup subsystem" - depends on CGROUPS - help - Provides a simple Resource Controller for monitoring the - total CPU consumed by the tasks in a cgroup - -config RESOURCE_COUNTERS - bool "Resource counters" - help - This option enables controller independent resource accounting - infrastructure that works with cgroups - depends on CGROUPS - -config MM_OWNER - bool - -config CGROUP_MEM_RES_CTLR - bool "Memory Resource Controller for Control Groups" - depends on CGROUPS && RESOURCE_COUNTERS - select MM_OWNER - help - Provides a memory resource controller that manages both page cache and - RSS memory. - - Note that setting this option increases fixed memory overhead - associated with each page of memory in the system by 4/8 bytes - and also increases cache misses because struct page on many 64bit - systems will not fit into a single cache line anymore. - - Only enable when you're ok with these trade offs and really - sure you need the memory resource controller. - - This config option also selects MM_OWNER config option, which - could in turn add some fork/exit overhead. - config SYSFS_DEPRECATED bool
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
A message that is not in the archive (sent off-list or not yet received): alpine.LFD.1.10.0808041213540.2600-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
Quoted 7 lines · On Mon, 4 Aug 2008 12:16:05 -0400 (EDT) "Robert P. J. Day"…
Move a few CGROUPS-related
Kconfigentries so that they appear consecutively when running "make menuconfig." This shouldn't affect the functionality.Signed-off-by Robert P. J. Day <rpjday-L09J2beyid0N/[email protected]>
Seems nice look. (Below is an menuconfig image, I modified a bit for -mm)
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x x --- Control Group support x x x x [ ] Example debug cgroup subsystem x x x x [*] Namespace cgroup subsystem x x x x [ ] Device controller for cgroups x x x x [*] Cpuset support x x x x [*] Simple CPU accounting cgroup subsystem x x x x [*] Resource counters x x x x [*] Memory Resource Controller for Control Groups x x x x [ ] Memory resource limit controls for cgroups x x
How do you think Paul ?
Off-topic: to Balbir.
How about "Aggregated Memory rlimit controls for cgroup" instead of "Memory resource limit controls for cgroups" ?
Thanks,
-Kame
Quoted 105 lines
---
init/Kconfig +36
-36@@ -317,6 +317,42 @@ config CPUSETS Say N if unsure. +config CGROUP_CPUACCT + bool "Simple CPU accounting cgroup subsystem" + depends on CGROUPS + help + Provides a simple Resource Controller for monitoring the + total CPU consumed by the tasks in a cgroup + +config RESOURCE_COUNTERS + bool "Resource counters" + help + This option enables controller independent resource accounting + infrastructure that works with cgroups + depends on CGROUPS + +config CGROUP_MEM_RES_CTLR + bool "Memory Resource Controller for Control Groups" + depends on CGROUPS && RESOURCE_COUNTERS + select MM_OWNER + help + Provides a memory resource controller that manages both page cache and + RSS memory. + + Note that setting this option increases fixed memory overhead + associated with each page of memory in the system by 4/8 bytes + and also increases cache misses because struct page on many 64bit + systems will not fit into a single cache line anymore. + + Only enable when you're ok with these trade offs and really + sure you need the memory resource controller. + + This config option also selects MM_OWNER config option, which + could in turn add some fork/exit overhead. + +config MM_OWNER + bool + # # Architectures with an unreliable sched_clock() should select this: #@@ -372,42 +408,6 @@ config CGROUP_SCHED endchoice -config CGROUP_CPUACCT - bool "Simple CPU accounting cgroup subsystem" - depends on CGROUPS - help - Provides a simple Resource Controller for monitoring the - total CPU consumed by the tasks in a cgroup - -config RESOURCE_COUNTERS - bool "Resource counters" - help - This option enables controller independent resource accounting - infrastructure that works with cgroups - depends on CGROUPS - -config MM_OWNER - bool - -config CGROUP_MEM_RES_CTLR - bool "Memory Resource Controller for Control Groups" - depends on CGROUPS && RESOURCE_COUNTERS - select MM_OWNER - help - Provides a memory resource controller that manages both page cache and - RSS memory. - - Note that setting this option increases fixed memory overhead - associated with each page of memory in the system by 4/8 bytes - and also increases cache misses because struct page on many 64bit - systems will not fit into a single cache line anymore. - - Only enable when you're ok with these trade offs and really - sure you need the memory resource controller. - - This config option also selects MM_OWNER config option, which - could in turn add some fork/exit overhead. - config SYSFS_DEPRECATED bool========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
_______________________________________________
Containers mailing list Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
https://lists.linux-foundation.org/mailman/listinfo/containers
A message that is not in the archive (sent off-list or not yet received): 20080806130112.82c04664.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org
Quoted 23 lines · KAMEZAWA Hiroyuki
Quoted 7 lines · On Mon, 4 Aug 2008 12:16:05 -0400 (EDT) "Robert P. J. Day"…
Move a few CGROUPS-related
Kconfigentries so that they appear consecutively when running "make menuconfig." This shouldn't affect the functionality.Signed-off-by Robert P. J. Day <rpjday-L09J2beyid0N/[email protected]>Seems nice look. (Below is an menuconfig image, I modified a bit for -mm)
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x x --- Control Group support x x x x [ ] Example debug cgroup subsystem x x x x [*] Namespace cgroup subsystem x x x x [ ] Device controller for cgroups x x x x [*] Cpuset support x x x x [*] Simple CPU accounting cgroup subsystem x x x x [*] Resource counters x x x x [*] Memory Resource Controller for Control Groups x x x x [ ] Memory resource limit controls for cgroups x x
Quoted 6 lines
How do you think Paul ?
Off-topic: to Balbir.
How about "Aggregated Memory rlimit controls for cgroup" instead of "Memory resource limit controls for cgroups" ?
ok, i'll leave this with you and you can tweak and apply whatever
suits you.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
A message that is not in the archive (sent off-list or not yet received): alpine.LFD.1.10.0808060708450.25391-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
Quoted 24 lines · Robert P. J. Day
Quoted 22 lines · KAMEZAWA Hiroyuki
Quoted 6 lines · On Mon, 4 Aug 2008 12:16:05 -0400 (EDT) "Robert P. J. Day"…
Move a few CGROUPS-related
Kconfigentries so that they appear consecutively when running "make menuconfig." This shouldn't affect the functionality.Signed-off-by Robert P. J. Day <rpjday-L09J2beyid0N/[email protected]>Seems nice look. (Below is an menuconfig image, I modified a bit for -mm)
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x x --- Control Group support x x x x [ ] Example debug cgroup subsystem x x x x [*] Namespace cgroup subsystem x x x x [ ] Device controller for cgroups x x x x [*] Cpuset support x x x x [*] Simple CPU accounting cgroup subsystem x x x x [*] Resource counters x x x x [*] Memory Resource Controller for Control Groups x x x x [ ] Memory resource limit controls for cgroups x x
Quoted 6 lines
Quoted 6 lines
How do you think Paul ?
Off-topic: to Balbir.
How about "Aggregated Memory rlimit controls for cgroup" instead of "Memory resource limit controls for cgroups" ?
Yes, we could do that. We can make it a menu when we add mlock control, etc.
Quoted 3 lines
ok, i'll leave this with you and you can tweak and apply whatever
suits you.
I like the way it looks as well.
Signature · 4 lines
Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL