[PATCH 2/2] CFS CGroup: Report usage

Balbir Singh balbir at linux.vnet.ibm.com
Tue Oct 23 00:57:40 PDT 2007


Paul Menage wrote:
> On 10/23/07, Balbir Singh <balbir at linux.vnet.ibm.com> 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



More information about the Containers mailing list