login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
25
Re: [PATCH 7/7] cgroups: Update documentation for bindable subsystems
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Li Zefan
Subject:
Re: [PATCH 7/7] cgroups: Update documentation for bindable subsystems
Date: Sunday, October 24, 2010 - 5:56 pm
Li Zefan wrote:
quoted text
> KAMEZAWA Hiroyuki wrote: >> On Fri, 22 Oct 2010 16:12:25 +0800 >> Li Zefan <lizf@cn.fujitsu.com> wrote: >> >>> Provide a usage example, and update the bind() callback API. >>> >>> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> >>> --- >>> Documentation/cgroups/cgroups.txt | 26 +++++++++++++++++--------- >>> 1 files changed, 17 insertions(+), 9 deletions(-) >>> >>> diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt >>> index 190018b..5b5382a 100644 >>> --- a/Documentation/cgroups/cgroups.txt >>> +++ b/Documentation/cgroups/cgroups.txt >>> @@ -363,17 +363,23 @@ Note this will add ns to the hierarchy but won't remove memory or >>> cpuset, because the new options are appended to the old ones: >>> # mount -o remount,ns /dev/cgroup >>> >>> +For some subsystems you can bind them to a mounted hierarchy or >>> +remove them from it, even if there're sub-cgroups in it: >>> +# mount -t cgroup -o freezer hier1 /dev/cgroup >>> +# echo $$ > /dev/cgroup/my_cgroup >>> +# mount -o freezer,cpuset hier1 /dev/cgroup >>> +(failed) >>> +# mount -o freezer,cpuacct hier1 /dev/cgroup >>> +# mount -o cpuacct hier1 /dev/cgroup >>> + >>> +Note cpuacct should be sit in the default hierarchy before remount. >>> + >> Can this operation be used with noop cgroup ? >> (IOW, perf cgroup can be attached to noop cgroup ?) >> > > Yes, you can. I've tested it.
But, wait. It stuck when I moved a task from a sub-cgroup to the root. Need to dig more.. --
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 0/7] cgroups: Allow to bind/unbind subsystems to/fr ...
, Li Zefan
, (Fri Oct 22, 1:09 am)
[PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Li Zefan
, (Fri Oct 22, 1:09 am)
[PATCH 2/7] cgroups: Allow to bind a subsystem to a cgroup ...
, Li Zefan
, (Fri Oct 22, 1:09 am)
[PATCH 3/7] cgroups: Allow to unbind subsystem from a cgro ...
, Li Zefan
, (Fri Oct 22, 1:10 am)
[PATCH 4/7] cgroups: Mark some subsystems bindable
, Li Zefan
, (Fri Oct 22, 1:11 am)
[PATCH 5/7] cgroups: Make freezer subsystem bindable
, Li Zefan
, (Fri Oct 22, 1:11 am)
[PATCH 6/7] cgroups: Warn if a bindable subsystem calls cs ...
, Li Zefan
, (Fri Oct 22, 1:12 am)
[PATCH 7/7] cgroups: Update documentation for bindable sub ...
, Li Zefan
, (Fri Oct 22, 1:12 am)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Peter Zijlstra
, (Fri Oct 22, 5:47 am)
Re: [PATCH 0/7] cgroups: Allow to bind/unbind subsystems t ...
, Peter Zijlstra
, (Fri Oct 22, 5:50 am)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Matt Helsley
, (Fri Oct 22, 1:57 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Matt Helsley
, (Fri Oct 22, 2:38 pm)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Matt Helsley
, (Fri Oct 22, 2:46 pm)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Matt Helsley
, (Fri Oct 22, 2:57 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, KAMEZAWA Hiroyuki
, (Sun Oct 24, 5:36 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Li Zefan
, (Sun Oct 24, 5:52 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Li Zefan
, (Sun Oct 24, 5:56 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Li Zefan
, (Sun Oct 24, 5:59 pm)
Re: [PATCH 0/7] cgroups: Allow to bind/unbind subsystems t ...
, Li Zefan
, (Sun Oct 24, 6:07 pm)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Li Zefan
, (Sun Oct 24, 6:15 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Li Zefan
, (Sun Oct 24, 6:23 pm)
Re: [PATCH 0/7] cgroups: Allow to bind/unbind subsystems t ...
, Paul Menage
, (Thu Oct 28, 4:33 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Paul Menage
, (Thu Oct 28, 4:34 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Paul Menage
, (Thu Oct 28, 4:55 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Paul Menage
, (Thu Oct 28, 4:57 pm)
Re: [PATCH 3/7] cgroups: Allow to unbind subsystem from a ...
, Paul Menage
, (Thu Oct 28, 5:02 pm)
Re: [PATCH 6/7] cgroups: Warn if a bindable subsystem call ...
, Paul Menage
, (Thu Oct 28, 5:05 pm)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Paul Menage
, (Thu Oct 28, 5:06 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Paul Menage
, (Thu Oct 28, 5:13 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Paul Menage
, (Thu Oct 28, 5:15 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Li Zefan
, (Sun Nov 7, 10:23 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Li Zefan
, (Sun Nov 7, 10:26 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Li Zefan
, (Sun Nov 7, 10:27 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Paul Menage
, (Tue Nov 9, 2:05 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Li Zefan
, (Tue Nov 9, 5:52 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Paul Menage
, (Tue Nov 9, 6:53 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Li Zefan
, (Tue Nov 9, 7:06 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Paul Menage
, (Tue Nov 9, 7:15 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Paul E. McKenney
Re: [PATCH, RFC] v4 scalable classic RCU implementation
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
bnx2x: Fan failure mechanism on additional design
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
openbsd-misc
:
James Hozier
Re: DVD burn error: No space left on device
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Very Fashion.com
Very-fashion.com -Novo! Brendirana garderoba po najpovoljnijim cenama.Bisou Bisou ...
Colocation donated by:
Syndicate