Re: [PATCH] cgroup: fix default notify_on_release setting

2008-02-25 Thread Paul Jackson
> @@ -2242,6 +2241,9 @@ static long cgroup_create(struct cgroup *parent, > struct dentry *dentry, > cgrp->root = parent->root; > cgrp->top_cgroup = parent->top_cgroup; > > + if (notify_on_release(parent)) > + set_bit(CGRP_NOTIFY_ON_RELEASE, &cgrp->flags); G

Re: [PATCH] cgroup: fix default notify_on_release setting

2008-02-24 Thread Paul Menage
On Sun, Feb 24, 2008 at 9:53 PM, Li Zefan <[EMAIL PROTECTED]> wrote: > The documentation says the default value of notify_on_release of > a child cgroup is inherited from its parent, which is reasonable, > but the implementation just sets the flag disabled. > > Signed-off-by: Li Zefan <[EMAIL PR

[PATCH] cgroup: fix default notify_on_release setting

2008-02-24 Thread Li Zefan
The documentation says the default value of notify_on_release of a child cgroup is inherited from its parent, which is reasonable, but the implementation just sets the flag disabled. Signed-off-by: Li Zefan <[EMAIL PROTECTED]> --- kernel/cgroup.c |4 +++- 1 files changed, 3 insertions(+), 1 d