* [PATCH] CGROUPS: Group the CGROUPS Kconfig entries to be consecutive.
@ 2008-08-04 16:16 Robert P. J. Day
[not found] ` <alpine.LFD.1.10.0808041213540.2600-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2008-08-04 16:16 UTC (permalink / raw)
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Move a few CGROUPS-related Kconfig entries so that they appear
consecutively when running "make menuconfig." This shouldn't affect
the functionality.
Signed-off-by: Robert P. J. Day <rpjday-L09J2beyid0N/H6P543EQg@public.gmane.org>
---
diff --git a/init/Kconfig b/init/Kconfig
index 7e6dae1..b51c133 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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
========================================================================
^ permalink raw reply related [flat|nested] 4+ messages in thread[parent not found: <alpine.LFD.1.10.0808041213540.2600-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>]
* Re: [PATCH] CGROUPS: Group the CGROUPS Kconfig entries to be consecutive. [not found] ` <alpine.LFD.1.10.0808041213540.2600-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> @ 2008-08-06 4:01 ` KAMEZAWA Hiroyuki [not found] ` <20080806130112.82c04664.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: KAMEZAWA Hiroyuki @ 2008-08-06 4:01 UTC (permalink / raw) To: Robert P. J. Day Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA, menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org On Mon, 4 Aug 2008 12:16:05 -0400 (EDT) "Robert P. J. Day" <rpjday-L09J2beyid0N/H6P543EQg@public.gmane.org> wrote: > > Move a few CGROUPS-related Kconfig entries so that they appear > consecutively when running "make menuconfig." This shouldn't affect > the functionality. > > Signed-off-by: Robert P. J. Day <rpjday-L09J2beyid0N/H6P543EQg@public.gmane.org> > 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 > --- > > diff --git a/init/Kconfig b/init/Kconfig > index 7e6dae1..b51c133 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -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 > ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20080806130112.82c04664.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>]
* Re: [PATCH] CGROUPS: Group the CGROUPS Kconfig entries to be consecutive. [not found] ` <20080806130112.82c04664.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org> @ 2008-08-06 11:10 ` Robert P. J. Day [not found] ` <alpine.LFD.1.10.0808060708450.25391-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Robert P. J. Day @ 2008-08-06 11:10 UTC (permalink / raw) To: KAMEZAWA Hiroyuki Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA, menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org On Wed, 6 Aug 2008, KAMEZAWA Hiroyuki wrote: > On Mon, 4 Aug 2008 12:16:05 -0400 (EDT) > "Robert P. J. Day" <rpjday-L09J2beyid0N/H6P543EQg@public.gmane.org> wrote: > > > > > Move a few CGROUPS-related Kconfig entries so that they appear > > consecutively when running "make menuconfig." This shouldn't affect > > the functionality. > > > > Signed-off-by: Robert P. J. Day <rpjday-L09J2beyid0N/H6P543EQg@public.gmane.org> > > > 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" ? 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 ======================================================================== ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <alpine.LFD.1.10.0808060708450.25391-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>]
* Re: [PATCH] CGROUPS: Group the CGROUPS Kconfig entries to be consecutive. [not found] ` <alpine.LFD.1.10.0808060708450.25391-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> @ 2008-08-06 11:20 ` Balbir Singh 0 siblings, 0 replies; 4+ messages in thread From: Balbir Singh @ 2008-08-06 11:20 UTC (permalink / raw) To: Robert P. J. Day Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA, menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org Robert P. J. Day wrote: > On Wed, 6 Aug 2008, KAMEZAWA Hiroyuki wrote: > >> On Mon, 4 Aug 2008 12:16:05 -0400 (EDT) >> "Robert P. J. Day" <rpjday-L09J2beyid0N/H6P543EQg@public.gmane.org> wrote: >> >>> Move a few CGROUPS-related Kconfig entries so that they appear >>> consecutively when running "make menuconfig." This shouldn't affect >>> the functionality. >>> >>> Signed-off-by: Robert P. J. Day <rpjday-L09J2beyid0N/H6P543EQg@public.gmane.org> >>> >> 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" ? Yes, we could do that. We can make it a menu when we add mlock control, etc. > > ok, i'll leave this with you and you can tweak and apply whatever > suits you. I like the way it looks as well. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-06 11:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 16:16 [PATCH] CGROUPS: Group the CGROUPS Kconfig entries to be consecutive Robert P. J. Day
[not found] ` <alpine.LFD.1.10.0808041213540.2600-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-08-06 4:01 ` KAMEZAWA Hiroyuki
[not found] ` <20080806130112.82c04664.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-08-06 11:10 ` Robert P. J. Day
[not found] ` <alpine.LFD.1.10.0808060708450.25391-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-08-06 11:20 ` Balbir Singh
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox