diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-07-02 09:08:37 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-07-02 09:08:37 +0000 |
commit | 53aed66c758cc2309ed5b2a0bb3151ff7278310f (patch) | |
tree | a91fade7fc298e5a4bbf355e89e020479911a3d5 /api.c | |
parent | 688123a268cdcc198fc49f85c4dbf3e9ceb42f7a (diff) | |
download | libcg-53aed66c758cc2309ed5b2a0bb3151ff7278310f.tar.gz libcg-53aed66c758cc2309ed5b2a0bb3151ff7278310f.tar.xz libcg-53aed66c758cc2309ed5b2a0bb3151ff7278310f.zip |
libcgroup: Fix test cases to use CPU controller if available
The test cases used the memory controller. This is not a good idea
since most distro kernels don't enable it by default. For the moment
I'm setting it to use CPU if memory is not found, but in the longer
term I am planning to set it to use CPU first and then memory.
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Acked-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@97 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'api.c')
0 files changed, 0 insertions, 0 deletions