Messages in this thread | | | Date | Wed, 2 Apr 2008 21:10:36 -0700 | From | "Paul Menage" <> | Subject | Re: [RFC][-mm] Add an owner to the mm_struct (v4) |
| |
On Wed, Apr 2, 2008 at 9:05 PM, Balbir Singh <balbir@linux.vnet.ibm.com> wrote: > > I checked to see that cgroup_exit is called after mm_update_new_owner(). We call > mm_update_new_owner() from exit_mm(). I did not check for current->cgroups != > new_owner->cgroups, since I did not want to limit the callbacks.
No cgroup subsystem should be concerned about mm ownership changes between tasks in the same cgroup. So I think that's a valid and useful optimization.
Paul
| |