Matt Helsley [matth...@us.ibm.com] wrote:
| To understand why relinking is extremely useful for checkpoint/restart
| consider this simple pseudocode program and a specific example checkpoint
| of it:
I can see how relinking the file simplifies C/R :-) But patch 2 indicates
not all filesystems ca
On Fri, Oct 22, 2010 at 01:57:55PM -0700, Matt Helsley wrote:
> On Fri, Oct 22, 2010 at 04:11:41PM +0800, Li Zefan wrote:
> > To make it bindable, we need to thaw all processes when unbinding
> > the freezer subsystem from a cgroup hierarchy.
> >
> > Signed-off-by: Li Zefan
>
> Based on experien
On Fri, Oct 22, 2010 at 01:57:55PM -0700, Matt Helsley wrote:
> On Fri, Oct 22, 2010 at 04:11:41PM +0800, Li Zefan wrote:
> > To make it bindable, we need to thaw all processes when unbinding
> > the freezer subsystem from a cgroup hierarchy.
> >
> > Signed-off-by: Li Zefan
>
> Alternately yo
On Fri, Oct 22, 2010 at 04:09:56PM +0800, Li Zefan wrote:
> Stephane posted a patchset to add perf_cgroup subsystem, so perf can
> be used to monitor all threads belonging to a cgroup.
>
> But if you already mounted a cgroup hierarchy but without perf_cgroup
> and the hierarchy has sub-cgroups, yo
opensource-sw.net seems to have been down for a while now. Is there a
new home for vzpkg2 and pkg-cacher? Did they get abandoned? Did vzpkg
acquire the same features, so vzpkg2 became unnecessary?
vzpkg2 and pkg-cacher seemed to be a great leap forward in usability at
the time, and I never conside
On Fri, Oct 22, 2010 at 04:11:41PM +0800, Li Zefan wrote:
> To make it bindable, we need to thaw all processes when unbinding
> the freezer subsystem from a cgroup hierarchy.
>
> Signed-off-by: Li Zefan
Based on experience using cgroups and questions we've fielded in the
past on IRC I'd say user
On Fri, 2010-10-22 at 16:09 +0800, Li Zefan wrote:
> Stephane posted a patchset to add perf_cgroup subsystem, so perf can
> be used to monitor all threads belonging to a cgroup.
>
> But if you already mounted a cgroup hierarchy but without perf_cgroup
> and the hierarchy has sub-cgroups, you can't
On Fri, 2010-10-22 at 16:09 +0800, Li Zefan wrote:
> For example, we can't decide a cgroup's cpuset.mems and
> cpuset.cpus automatically, so cpuset is not bindable.
You mean to say that you cannot add cpuset to an existing hierarchy
right? Not that you cannot add perf/cpuacct to an existing cpuse
Provide a usage example, and update the bind() callback API.
Signed-off-by: Li Zefan
---
Documentation/cgroups/cgroups.txt | 26 +-
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/Documentation/cgroups/cgroups.txt
b/Documentation/cgroups/cgroups.txt
ind
For now bindable subsystems should not use css_get/put(), so warn
on this misuse.
Signed-off-by: Li Zefan
---
include/linux/cgroup.h |7 +--
kernel/cgroup.c|3 +++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
i
To make it bindable, we need to thaw all processes when unbinding
the freezer subsystem from a cgroup hierarchy.
Signed-off-by: Li Zefan
---
include/linux/cgroup.h |3 ++-
kernel/cgroup.c | 22 --
kernel/cgroup_freezer.c | 19 +--
3 files chan
For those subsystems (debug, cpuacct, net_cls and devices),
setting the can_bind flag is sufficient.
Signed-off-by: Li Zefan
---
kernel/cgroup.c |1 +
kernel/sched.c |1 +
net/sched/cls_cgroup.c |1 +
security/device_cgroup.c |1 +
4 files changed, 4 insertio
Stephane posted a patchset to add perf_cgroup subsystem, so perf can
be used to monitor all threads belonging to a cgroup.
But if you already mounted a cgroup hierarchy but without perf_cgroup
and the hierarchy has sub-cgroups, you can't bind perf_cgroup to it,
and thus you're not able to use per-
This allows us to unbind a cgroup subsystem from a hierarchy
which has sub-cgroups in it.
Due to some complexity, for now subsytems that use css_get/put()
can't be unbound from such a hierarchy.
Usage:
# mount -t cgroup -o cpuset,cpuacct xxx /mnt
# mkdir /mnt/tmp
# echo $$ > /mnt/tmp/tasks
(rem
On x86_32, sizeof(struct cgroup_subsys) shrinks from 276 bytes
to 264.
Signed-off-by: Li Zefan
---
include/linux/cgroup.h | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index ed4ba11..e23ded6 100644
--- a/include/l
Stephane posted a patchset to add perf_cgroup subsystem, so perf can
be used to monitor all threads belonging to a cgroup.
But if you already mounted a cgroup hierarchy but without perf_cgroup
and the hierarchy has sub-cgroups, you can't bind perf_cgroup to it,
and thus you're not able to use per-
16 matches
Mail list logo