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

From: Paul Menage
Date: Thu Apr 03 2008 - 14:41:49 EST


On Thu, Apr 3, 2008 at 11:34 AM, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:
>
> That is indeed quite bad. Do we have to retire the group_leader to init_css_set?
> Can we not check for delay_group_leader() there?
>

That might have unintentded consequences, such as leaving a pid in the
cgroup that can't be moved (since it's PF_EXITING) but won't go away
until its threads have all exited.
Maybe that's OK if the other threads are guaranteed to have started
exiting by this point. We'd need some cleanup for when the group
leader finally did exit.

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/