login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
7
Re: [PATCH] Add cgroup support for enabling controllers at boot time
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Balbir Singh
Subject:
Re: [PATCH] Add cgroup support for enabling controllers at boot time
Date: Thursday, March 6, 2008 - 9:37 pm
Li Zefan wrote:
quoted text
> Randy Dunlap wrote: >> On Fri, 07 Mar 2008 00:29:52 +0530 Balbir Singh wrote: >> >>> From: Paul Menage <menage@google.com> >>> >>> The effects of cgroup_disable=foo are: >>> >>> - foo doesn't show up in /proc/cgroups >>> - foo isn't auto-mounted if you mount all cgroups in a single hierarchy >>> - foo isn't visible as an individually mountable subsystem >>> >>> As a result there will only ever be one call to foo->create(), at init >>> time; all processes will stay in this group, and the group will never >>> be mounted on a visible hierarchy. Any additional effects (e.g. not >>> allocating metadata) are up to the foo subsystem. >>> >>> This doesn't handle early_init subsystems (their "disabled" bit isn't >>> set be, but it could easily be extended to do so if any of the >>> early_init >>> systems wanted it - I think it would just involve some nastier parameter >>> processing since it would occur before the command-line argument parser >>> had been run. >>> >>> [Balbir added Documentation/kernel-parameters updates] >>> >>> Signed-off-by: Paul Menage <menage@google.com> >>> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> >>> --- >>> >>> Documentation/kernel-parameters.txt | 4 ++++ >>> include/linux/cgroup.h | 1 + >>> kernel/cgroup.c | 27 +++++++++++++++++++++++++-- >>> 3 files changed, 30 insertions(+), 2 deletions(-) >>> >>> diff -puN Documentation/kernel-parameters.txt~cgroup_disable >>> Documentation/kernel-parameters.txt >>> --- >>> linux-2.6.25-rc4/Documentation/kernel-parameters.txt~cgroup_disable >>> 2008-03-06 17:57:32.000000000 +0530 >>> +++ linux-2.6.25-rc4-balbir/Documentation/kernel-parameters.txt >>> 2008-03-06 18:00:32.000000000 +0530 >>> @@ -383,6 +383,10 @@ and is between 256 and 4096 characters. >>> ccw_timeout_log [S390] >>> See Documentation/s390/CommonIO for details. >>> >>> + cgroup_disable= [KNL] Enable disable a particular controller >> >> So it can enable or disable? or the text has extra text? >> > > don't think so, should be "Disable a particular controller" >
Agreed and fixed. Thanks, -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Add cgroup support for enabling controllers at boo ...
, Balbir Singh
, (Thu Mar 6, 11:59 am)
[PATCH] Make memory resource control aware of boot options
, Balbir Singh
, (Thu Mar 6, 12:00 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, David Rientjes
, (Thu Mar 6, 12:10 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Randy Dunlap
, (Thu Mar 6, 12:11 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Li Zefan
, (Thu Mar 6, 5:05 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Li Zefan
, (Thu Mar 6, 5:13 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Balbir Singh
, (Thu Mar 6, 9:37 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Balbir Singh
, (Thu Mar 6, 9:37 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Balbir Singh
, (Thu Mar 6, 9:41 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Li Zefan
, (Thu Mar 6, 9:56 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, KAMEZAWA Hiroyuki
, (Thu Mar 6, 9:58 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, David Rientjes
, (Thu Mar 6, 10:14 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, David Rientjes
, (Thu Mar 6, 10:15 pm)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Paul Menage
, (Fri Mar 7, 1:40 am)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, David Rientjes
, (Fri Mar 7, 1:56 am)
Re: [PATCH] Add cgroup support for enabling controllers at ...
, Paul Menage
, (Fri Mar 7, 2:01 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate