On Thu, Aug 01, 2013 at 05:49:46PM -0400, Tejun Heo wrote:
> cgroup is currently in the process of transitioning to using struct
> cgroup_subsys_state * as the primary handle instead of struct cgroup *
> in subsystem implementations for the following reasons.
>
> * With unified hierarchy,
On Thu, Aug 01, 2013 at 05:49:46PM -0400, Tejun Heo wrote:
> cgroup is currently in the process of transitioning to using struct
> cgroup_subsys_state * as the primary handle instead of struct cgroup *
> in subsystem implementations for the following reasons.
>
> * With unified hierarchy,
On Thu, Aug 01, 2013 at 05:49:46PM -0400, Tejun Heo wrote:
cgroup is currently in the process of transitioning to using struct
cgroup_subsys_state * as the primary handle instead of struct cgroup *
in subsystem implementations for the following reasons.
* With unified hierarchy, subsystems
On Thu, Aug 01, 2013 at 05:49:46PM -0400, Tejun Heo wrote:
cgroup is currently in the process of transitioning to using struct
cgroup_subsys_state * as the primary handle instead of struct cgroup *
in subsystem implementations for the following reasons.
* With unified hierarchy, subsystems
On Fri, Aug 02, 2013 at 03:43:05PM +0200, Michal Hocko wrote:
> On Fri 02-08-13 15:19:01, Michal Hocko wrote:
> [...]
> > mem_cgroup_from_cont can go away now as well. Do you plan to remove it
> > in the series or later on?
>
> Ohh, it goes in 21/23. Good
Heh, yeah, that one.
Thanks.
--
tejun
On Fri, Aug 02, 2013 at 12:02:05PM +0800, Li Zefan wrote:
> > @@ -4199,12 +4208,13 @@ static void init_cgroup_css(struct
> > cgroup_subsys_state *css,
> > /* invoke ->css_online() on a new CSS and mark it online if successful */
> > static int online_css(struct cgroup_subsys *ss, struct cgroup
On Fri, Aug 02, 2013 at 03:19:01PM +0200, Michal Hocko wrote:
> mem_cgroup_from_cont can go away now as well. Do you plan to remove it
> in the series or later on?
IIRC, vmpressure still uses the accessor. It'll get removed later
when all the usages are gone.
Thanks.
--
tejun
--
To
On Fri, Aug 02, 2013 at 11:54:24AM +0800, Li Zefan wrote:
> > @@ -4298,7 +4308,7 @@ static long cgroup_create(struct cgroup *parent,
> > struct dentry *dentry,
> > for_each_root_subsys(root, ss) {
> > struct cgroup_subsys_state *css;
> >
> > - css =
On Fri 02-08-13 15:19:01, Michal Hocko wrote:
[...]
> mem_cgroup_from_cont can go away now as well. Do you plan to remove it
> in the series or later on?
Ohh, it goes in 21/23. Good
Thanks!
--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
On Thu 01-08-13 17:49:46, Tejun Heo wrote:
> cgroup is currently in the process of transitioning to using struct
> cgroup_subsys_state * as the primary handle instead of struct cgroup *
> in subsystem implementations for the following reasons.
>
> * With unified hierarchy, subsystems will be
On Thu 01-08-13 17:49:46, Tejun Heo wrote:
cgroup is currently in the process of transitioning to using struct
cgroup_subsys_state * as the primary handle instead of struct cgroup *
in subsystem implementations for the following reasons.
* With unified hierarchy, subsystems will be
On Fri 02-08-13 15:19:01, Michal Hocko wrote:
[...]
mem_cgroup_from_cont can go away now as well. Do you plan to remove it
in the series or later on?
Ohh, it goes in 21/23. Good
Thanks!
--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the
On Fri, Aug 02, 2013 at 11:54:24AM +0800, Li Zefan wrote:
@@ -4298,7 +4308,7 @@ static long cgroup_create(struct cgroup *parent,
struct dentry *dentry,
for_each_root_subsys(root, ss) {
struct cgroup_subsys_state *css;
- css = ss-css_alloc(cgrp);
+
On Fri, Aug 02, 2013 at 03:19:01PM +0200, Michal Hocko wrote:
mem_cgroup_from_cont can go away now as well. Do you plan to remove it
in the series or later on?
IIRC, vmpressure still uses the accessor. It'll get removed later
when all the usages are gone.
Thanks.
--
tejun
--
To unsubscribe
On Fri, Aug 02, 2013 at 12:02:05PM +0800, Li Zefan wrote:
@@ -4199,12 +4208,13 @@ static void init_cgroup_css(struct
cgroup_subsys_state *css,
/* invoke -css_online() on a new CSS and mark it online if successful */
static int online_css(struct cgroup_subsys *ss, struct cgroup *cgrp)
On Fri, Aug 02, 2013 at 03:43:05PM +0200, Michal Hocko wrote:
On Fri 02-08-13 15:19:01, Michal Hocko wrote:
[...]
mem_cgroup_from_cont can go away now as well. Do you plan to remove it
in the series or later on?
Ohh, it goes in 21/23. Good
Heh, yeah, that one.
Thanks.
--
tejun
--
To
> @@ -4199,12 +4208,13 @@ static void init_cgroup_css(struct
> cgroup_subsys_state *css,
> /* invoke ->css_online() on a new CSS and mark it online if successful */
> static int online_css(struct cgroup_subsys *ss, struct cgroup *cgrp)
> {
> + struct cgroup_subsys_state *css =
> @@ -4298,7 +4308,7 @@ static long cgroup_create(struct cgroup *parent, struct
> dentry *dentry,
> for_each_root_subsys(root, ss) {
> struct cgroup_subsys_state *css;
>
> - css = ss->css_alloc(cgrp);
> + css =
cgroup is currently in the process of transitioning to using struct
cgroup_subsys_state * as the primary handle instead of struct cgroup *
in subsystem implementations for the following reasons.
* With unified hierarchy, subsystems will be dynamically bound and
unbound from cgroups and thus
cgroup is currently in the process of transitioning to using struct
cgroup_subsys_state * as the primary handle instead of struct cgroup *
in subsystem implementations for the following reasons.
* With unified hierarchy, subsystems will be dynamically bound and
unbound from cgroups and thus
@@ -4298,7 +4308,7 @@ static long cgroup_create(struct cgroup *parent, struct
dentry *dentry,
for_each_root_subsys(root, ss) {
struct cgroup_subsys_state *css;
- css = ss-css_alloc(cgrp);
+ css = ss-css_alloc(parent-subsys[ss-subsys_id]);
As
@@ -4199,12 +4208,13 @@ static void init_cgroup_css(struct
cgroup_subsys_state *css,
/* invoke -css_online() on a new CSS and mark it online if successful */
static int online_css(struct cgroup_subsys *ss, struct cgroup *cgrp)
{
+ struct cgroup_subsys_state *css =
22 matches
Mail list logo