The patches are commited to git now. 
Ivana

----- Original Message -----
> From: "Ivana Hutarova Varekova" <varek...@redhat.com>
> To: libcg-devel@lists.sourceforge.net
> Sent: Friday, January 11, 2013 11:47:54 PM
> Subject: [Libcg-devel] [PATCH 0/8] template control groups
> 
> This patchset adds the possibility to set template control group,
> which is used as a template for some group of control groups.
> Template group can be created on-fly, when cgroup_change_cgroup_flags
> call want to use control group based on template name which does not
> 
> Template group is a group which name contains template string - that
> means a string which contains %U, %u, %G, %g, %P or %p tag(s).
> rules which uses template groups can be specified in cgrules.conf:
> e.g.:
> @students cpu,cpuacct    students/%u
> 
> template group specification can be done using cgconfig.conf file
> (they have to have keyword template):
> e.g.:
>       template students/%u {
>               cpuacct{
>               }
>               cpu {
>               }
>       }
> 
> For now all control groups which are necessary for creating template
> group and which are not present are created with the default kernel
> va
> 
> The templates can be cached (the similar way as rules) to prevent to
> read config file too often. SIGUSR1 reload the template cache.
> 
> Documentation is updated to reflect this changes.
> 
> Changelog:
> * incorporate Dhaval's feedback - changed patches number 1 and 4
> 
> 
> ---
> 
> Ivana Hutarova Varekova (8):
>       update documentation to reflect the changes regarding templates
>       cgroup_change_cgroup_flags: use templates if they are in rules
>       cgrulesengd: cache templates
>       api: add function for creating template control groups
>       config.h: create function for init/reload cgconfig template
>       cache
>       cgconfig.conf: parse template tag and fill relevant structures
>       cgconfigparser: add template tag to cgconfigparser
>       cgroup_change_cgroup_flags: create template control group on
>       the fly
> 
> 
>  src/api.c                |  199 +++++++++++++++++++
>  src/config.c             |  491
>  +++++++++++++++++++++++++++++++++++++++++++---
>  src/daemon/cgrulesengd.c |   41 ++++
>  src/daemon/cgrulesengd.h |    7 +
>  src/lex.l                |    3
>  src/libcgroup-internal.h |    7 +
>  src/libcgroup.map        |    6 +
>  src/parse.y              |  136 +++++++++++++
>  8 files changed, 853 insertions(+), 37 deletions(-)
> 
> --
> Signature
> 
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and
> experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> Libcg-devel mailing list
> Libcg-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libcg-devel
> 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to