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

From: Balbir Singh
Date: Tue Oct 23 2007 - 03:50:12 EST


Paul Menage wrote:
> On 10/22/07, Paul Menage <menage@xxxxxxxxxx> wrote:
>> Using cgroup_mutex is certainly possible for now, although more
>> heavy-weight than I'd like long term. Using css_get isn't the right
>> approach, I think - we shouldn't be able to cause an rmdir to fail due
>> to a concurrent read.
>>

Well, most people who care about deletion will use the notify_on_release
callback and retry. I think we have a good mechanism in place for
deletion, so I would not worry about read delaying deletion.



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