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:52 pm
KAMEZAWA Hiroyuki wrote:
quoted text
> 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. --
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
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Michael S. Tsirkin
git-kill: rewrite history removing a commit
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
Colocation donated by:
Syndicate