| Date | Sun, 18 Sep 2011 23:27:10 +0300 | From | "Kirill A. Shutemov" <> | Subject | Re: [PATCH 09/11] cgroups: Add a task counter subsystem |
| |
On Tue, Sep 13, 2011 at 01:11:29AM +0200, Frederic Weisbecker wrote: > +static struct cftype files[] = { > + { > + .name = "limit", > + .read_u64 = task_counter_read_u64, > + .write_u64 = task_counter_write_u64, > + .private = RES_LIMIT, > + }, > + > + { > + .name = "usage", > + .read_u64 = task_counter_read_u64,
It would be nice to implement .register_event/.unregister_event as well.
-- Kirill A. Shutemov
|