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

From: Balbir Singh
Date: Tue Oct 23 2007 - 03:58:57 EST


Paul Menage wrote:
> On 10/23/07, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:
>> Well, most people who care about deletion will use the notify_on_release
>> callback and retry.
>
> I'm not convinced this is true. Certainly the userspace approaches
> we're developing at Google don't (currently) use notify_on_release.
>
> Paul

Well, without notify_on_release you can never be sure if a new task
got added to the control group or if someone acquired a reference
to it. I can't think of a safe way of removing control groups/cpusets
without using notify_on_release.

--
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/