Re: [RFC][-mm] Add an owner to the mm_struct (v4)

From: Paul Menage
Date: Thu Apr 03 2008 - 00:11:07 EST


On Wed, Apr 2, 2008 at 9:05 PM, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/