Re: [Libcg-devel] [RFC] How to handle the rules engine for cgroups

From: Dhaval Giani
Date: Thu Jul 10 2008 - 13:28:54 EST


On Thu, Jul 10, 2008 at 01:19:39PM -0400, Vivek Goyal wrote:
> On Thu, Jul 10, 2008 at 09:41:06AM -0700, Paul Menage wrote:
> > On Thu, Jul 10, 2008 at 7:06 AM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote:
> > >
> > > This looks interesting. So above method should solve atleast the
> > > reliability issue of event transport to user space. Got few thougts.
> > >
> > > - Hopefully number of hiearchies will not explode as we will be
> > > mounting one hierarchies per event type (uid change, gid change,
> > > exec, maybe fork etc.).
> >
> > In what circumstances would you want to reclassify processes to a
> > different cgroup on a fork?
>
> I don't know. Balbir had mentioned in one of the mails in this thread
> regarding getting notification on fork.

fork or exec? I believe reclassifications would happen only on exec.

--
regards,
Dhaval
--
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/