Re: [PATCH 1/2] perf_events: add cgroup support (v8)

From: Paul Menage
Date: Mon Feb 07 2011 - 16:34:19 EST


On Mon, Feb 7, 2011 at 12:09 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> Also, the core cgroup code should deal with the cgroup refcount, not
> individual controllers.

Right, that's what I meant - make it so that an rmdir that fails
because a subsystem is still holding a refcount puts/leaves the cgroup
in a state where userspace will still get a notification when the last
refcount is dropped. Not something that the subsystem would have to
worry about.

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/