[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121220052533.GA17190@herton-Z68MA-D2H-B3>
Date: Thu, 20 Dec 2012 03:25:33 -0200
From: Herton Ronaldo Krzesinski <herton.krzesinski@...onical.com>
To: Tejun Heo <tj@...nel.org>
Cc: rjw@...k.pl, oleg@...hat.com, linux-kernel@...r.kernel.org,
lizefan@...wei.com, containers@...ts.linux-foundation.org,
cgroups@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH 1/7] cgroup: cgroup_subsys->fork() should be called after
the task is added to css_set
On Tue, Oct 16, 2012 at 03:28:40PM -0700, Tejun Heo wrote:
[...]
>
> diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
> index f8a030c..4cd1d0f 100644
> --- a/include/linux/cgroup.h
> +++ b/include/linux/cgroup.h
> @@ -34,7 +34,6 @@ extern int cgroup_lock_is_held(void);
> extern bool cgroup_lock_live_group(struct cgroup *cgrp);
> extern void cgroup_unlock(void);
> extern void cgroup_fork(struct task_struct *p);
> -extern void cgroup_fork_callbacks(struct task_struct *p);
> extern void cgroup_post_fork(struct task_struct *p);
> extern void cgroup_exit(struct task_struct *p, int run_callbacks);
> extern int cgroupstats_build(struct cgroupstats *stats,
[...]
Minor issue, the patch missed the removal of
static inline void cgroup_fork_callbacks(struct task_struct *p) {}
for the !CONFIG_CGROUPS case
--
[]'s
Herton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists