Messages in this thread | | | Subject | Re: [PATCH 1/2] perf_events: add cgroup support (v8) | From | Peter Zijlstra <> | Date | Mon, 07 Feb 2011 21:09:22 +0100 |
| |
On Mon, 2011-02-07 at 11:29 -0800, Paul Menage wrote: > > This again means that all such notification handlers must poll state, > > which is ridiculous. > > > > Not necessarily - we could make it that a failed rmdir() sets a bit > that causes a notification again once the final refcount is dropped > again on the cgroup.
But that doesn't work if you fail for any other reason than a refcount, which you yourself proposed a while back.
Also, the core cgroup code should deal with the cgroup refcount, not individual controllers.
| |