login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
8
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, November 7, 2010 - 10:27 pm
Paul Menage wrote:
quoted text
>> Called when a cgroup subsystem is rebound to a different hierarchy >> -and root cgroup. Currently this will only involve movement between >> -the default hierarchy (which never has sub-cgroups) and a hierarchy >> -that is being created/destroyed (and hence has no sub-cgroups). >> +and root cgroup. For some subsystems this will only involve movement >> +between the default hierarchy (which never has sub-cgroups) and a >> +hierarchy that is being created/destroyed (and hence has no sub-cgroups). >> +For some other subsystems this can involve movement between the default >> +hierarchy and a mounted hierarchy which may have sub-cgroups in it. > > This is a bit vague. How about: > > For non-bindable subsystems, this will only involve movement > between the default hierarchy (which never has sub-cgroups) and a > hierarchy that is being created/destroyed (and hence has no sub-cgroups). > > For binadable subsystems, this may also involve movement between the > default hierarchy and a mounted hierarchy that's populated with > sub-cgroups. > > Also, the docs should mention that a cgroup setting the can_bind flag > has to be able to support side-effect free movement of a task into any > just-created cgroup, and into the root cgroup at any time. i.e. it's > not suitable for any subsystem where can_attach() might return false > for the root cgroup or a newly-created cgroup, or attach() might have > side-effects for those same cases. > > Actually, perhaps we should forbid the combination of having both an > attach() callback and can_bind=true ? > > Also, post_clone() doesn't get called when creating the css hierarchy > during binding. >
This is much better. :) Documentation often causes my headache due to my limited English skill. --
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
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tony Luck
Re: Hardware Error Kernel Mini-Summit
James Bottomley
Re: [PATCH -mm 1/2] scsi: remove dma_is_consistent usage in 53c700
Andrey Borzenkov
Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from...
Jeffrey V. Merkey
Re: Versioning file system
David Miller
Re: NO_HZ: timer interrupt stuck
git
:
Oliver Kullmann
Re: how to move with history?
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Morten Welinder
Re: [PATCH] use xrealloc in help.c
Miles Bader
Re: way to automatically add untracked files?
Alex Riesen
Re: git exclude patterns for directory
linux-netdev
:
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Andreas Sundstrom
Re: ~60k interrupts/sec for 1Gb/s iperf with r8169
Denys Fedoryshchenko
Re: circular locking, mirred, 2.6.24.2
Pavel Emelyanov
Re: [PATCH 7/8] af_unix: Allow credentials to work across user and pid namespaces.
David Shwatrz
[PATCH net-next-2.6] XFRM: remove unused member in xfrm_encap_tmpl.
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
m68k: amiga - Mouse platform device conversion
Linux Kernel Mailing List
drivers/acpi: use kasprintf
openbsd-misc
:
frantisek holop
Re: mount ffs as msdos, system hangs
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Colocation donated by:
Syndicate