Re: [PATCH 2/2] CFS CGroup: Report usage

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Menage
Date: Tuesday, October 23, 2007 - 12:21 am

On 10/22/07, Paul Menage <menage@google.com> wrote:

OK, the obvious solution is to use the same approach for subsystem
state objects as we do for the struct cgroup itself - move the calls
to the subsystem destroy methods to cgroup_diput. A control file
dentry will keep alive the parent dir's dentry, which will keep alive
the cgroup and (with this change) the subsystem state objects too.

The only potential drawback that I can see is that an open fd on a
cgroup directory or a control file will keep more memory alive than it
would have done previously.

Paul
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Mon Oct 22, 5:49 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Mon Oct 22, 7:40 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Balbir Singh, (Mon Oct 22, 8:17 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Mon Oct 22, 11:06 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Mon Oct 22, 11:09 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 12:21 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Balbir Singh, (Tue Oct 23, 12:49 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 12:53 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Balbir Singh, (Tue Oct 23, 12:57 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 1:08 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 9:41 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 9:41 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 9:43 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 9:47 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 10:38 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 7:28 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 9:39 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Thu Oct 25, 6:24 pm)