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

From: Balbir Singh
Date: Thu Apr 03 2008 - 00:33:02 EST


Paul Menage wrote:
> 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.
>

Hmm. probably.. I'll do that check. Let me post v5 with these changes

--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
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/