diff options
author | Ivana Varekova <varekova@redhat.com> | 2009-06-19 17:08:13 +0200 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-06-29 16:59:16 +0530 |
commit | 264acc5ddb7b0099b50772f89b93991f72290ea3 (patch) | |
tree | 7b39e54d8ca7383e34e0effbdd760cf6b1bea8ef /tests/test_functions.c | |
parent | 6e1c51e983714faa762e917b41588cc629243c16 (diff) | |
download | libcg-264acc5ddb7b0099b50772f89b93991f72290ea3.tar.gz libcg-264acc5ddb7b0099b50772f89b93991f72290ea3.tar.xz libcg-264acc5ddb7b0099b50772f89b93991f72290ea3.zip |
cgset: Change the generation of cgroup
- This patch change the system of generating cgroup to
1/ create one src cgroup
2/ for each input cgroup name cgroup_copy_cgroup
the name-value data from original one
This method is better because the name-values pairs should not be
parsed several times. And this method will be used in new coption
--copy-from too (the src group will be find in option)
move the part in which src is generated to separate function
Signed-off-by: Ivana Varekova <varekova@redhat.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'tests/test_functions.c')
0 files changed, 0 insertions, 0 deletions