Hello, I plan to do nontrivial changes in this patch (they re need in further part of the "template" patchset). So please do not review this version of the patch Ivana
----- Original Message ----- > From: "Balbir Singh" <bsinghar...@gmail.com> > To: "Ivana Varekova" <varek...@redhat.com> > Cc: libcg-devel@lists.sourceforge.net > Sent: Thursday, October 4, 2012 10:53:14 AM > Subject: Re: [Libcg-devel] [PATCH] cgroup_change_cgroup_flags: create control > template group on the fly > > On Thu, Oct 4, 2012 at 11:36 AM, Ivana Varekova <varek...@redhat.com> > wrote: > > > > > > ----- Original Message ----- > >> From: "Balbir Singh" <bsinghar...@gmail.com> > >> To: "Ivana Varekova" <varek...@redhat.com> > >> Cc: libcg-devel@lists.sourceforge.net > >> Sent: Thursday, October 4, 2012 4:32:57 AM > >> Subject: Re: [Libcg-devel] [PATCH] cgroup_change_cgroup_flags: > >> create control template group on the fly > >> > >> > Hello, > >> > no the behaviour is the same as cgconfig.conf. The group is > >> > created > >> > using cgroup_create_cgroup function. > >> > That means parameters are not taken from /people/students but > >> > they > >> > are empty (see conversation > >> > http://sourceforge.net/mailarchive/forum.php?thread_name=502209A3.70809%40redhat.com&forum_name=libcg-devel). > >> > In the next patch(es) I will add the possibility to set the > >> > values > >> > in cgconfig.conf file in the dame way as control groups. There > >> > will be new keyword - "template" instead of cgroup. > >> > > >> > Ivana > >> > >> Why not create a group called "default" or "template" (don't > >> create > >> this in cgroup fs) in cgconfig.conf and use that as the template? > >> Or > >> do you need one template per hierarchy? > >> > >> Balbir > > > > Hello, > > the idea is to have a possibility to have "template" group(s) (eg. > > a/b/%u), their variable can be set using cgconfig,conf (there will > > be tag "template a/b/%u { ... }") and whole "templates groups" > > e.g. a/b/peter, a/b/jan will have variables set by cgconfig.conf > > template a/b/%u. If there is another template a/b/c/%u then it cen > > be set in cgconfig.conf as well. > > The patches for cgconfig.conf are not set to list yet. > > I hope I answer the question properly. > > Ivana > >> > > OK, makes more sense now > > Balbir > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel