From: Ivana H. V. <var...@us...> - 2013-10-14 07:03:31
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 9a5be0d9530a81c386ddd3ddaa264d3e04e6b1fd (commit) via 83248a9edad920e1ceb879bc26ef155a9554617c (commit) via 5c012978a3b82b6c959dddd3918c65d864995aaf (commit) via bdb79e10902eb4582a87002df052a15d23a063ee (commit) via 0e1874e542efda299a5d4ca78d2d50d132d7220c (commit) from 14c2cae7f387eb4d1ffd5f4c8f45e73a33e4ce9b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9a5be0d9530a81c386ddd3ddaa264d3e04e6b1fd Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 08:49:34 2013 +0200 Use cache when calling cgroup_change_cgroup_flags() When system contains cgrules.conf file with few thousand rules, cgroup_change_cgroup_flags() function without CGFLAG_USECACHE flag is very slow. As Ivana pointed out, cgexec and cgclassify tools might have problems with cache reloading, so I've removed them from the patch for now. Currently, the patch affects only cgrulesengd daemon. Testing was done with approximately 4000 users, rules in cgrules.conf file and same amount of entries in cgconfig.conf. Without the CGFLAG_USECACHE the cgrulesengd is starting for about 15 - 20 minutes (this is because of cgroup_change_all_cgroups() function, which scans all running processes on cgrulesengd start). Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 83248a9edad920e1ceb879bc26ef155a9554617c Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 08:43:24 2013 +0200 Templates letter case is switched Man page cgrules.conf(5) says: %u username, uid if name resolving fails %U uid %g group name, gid if name resolving fails %G gid %p process name, pid if name not available %P pid However, in cgroup_change_cgroup_flags() function, the letter case is switched. This patch fixes the problem. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 5c012978a3b82b6c959dddd3918c65d864995aaf Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 06:48:06 2013 +0200 Invalid reallocation of config_table in config_insert_cgroup() There's invalid reallocation of config_table variable in config_insert_cgroup() function. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit bdb79e10902eb4582a87002df052a15d23a063ee Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 06:45:10 2013 +0200 Incorrect cast This patch fixes incorrect cast in cgclassify.c file. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 0e1874e542efda299a5d4ca78d2d50d132d7220c Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 06:41:38 2013 +0200 Typo in debug message in cgexec.c file This patch fixes typo in debug message. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: src/api.c | 15 ++++++++------- src/config.c | 14 ++++++++++++-- src/tools/cgclassify.c | 2 +- src/tools/cgexec.c | 2 +- 4 files changed, 22 insertions(+), 11 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |