|
From: Li Z. <li...@cn...> - 2009-04-23 01:28:46
|
Subrata Modak 写道: > On Tue, 2009-04-21 at 13:45 +0800, Li Zefan wrote: >> Those testcases can reproduce bugs we found in cgroups, and is useful >> to track future regressions. >> >> Note: this test may crash the system with older kernels, so it is >> disabled for kernels older than 2.6.29 >> >> Another note: getdelays.c is linux-2.6/Documentation/accounting/getdelays.c >> >> How to run this test: >> # runltp -f controllers >> >> Result: >> >> cgroup_regression_test 1 PASS : no kernel bug was found >> cgroup_regression_test 2 PASS : notify_on_release is inherited >> cgroup_regression_test 3 PASS : no kernel bug was found >> cgroup_regression_test 4 PASS : no lockdep BUG was found >> cgroup_regression_test 5 PASS : no kernel bug was found >> cgroup_regression_test 6 PASS : no kernel bug was found >> cgroup_regression_test 7 PASS : no kernel bug was found >> cgroup_regression_test 8 PASS : no kernel bug was found >> cgroup_regression_test 9 PASS : no kernel warning was found >> cgroup_regression_test 10 PASS : no kernel warning was found >> >> Signed-off-by: Li Zefan <li...@cn...> > > Thanks once again for these tests. I did a testing on the following > machine before merging: > > # uname -a > Linux 2.6.29-5-default #1 SMP Tue Apr 21 20:04:44 IST 2009 x86_64 x86_64 > x86_64 GNU/Linux > > with the following results: > > <<<test_output>>> > incrementing stop > cgroup_regression_test 1 PASS : no kernel bug was found > /root/subrata/ltp/ltp-intermediate-20090420/testcases/bin/cgroup_regression_test.sh: line 121: 13960 Terminated ./fork_processes > cgroup_regression_test 2 PASS : notify_on_release is inherited > cgroup_regression_test 3 PASS : no kernel bug was found > cgroup_regression_test 4 CONF : CONFIG_LOCKDEP is not enabled > cgroup_regression_test 5 PASS : no kernel bug was found > /root/subrata/ltp/ltp-intermediate-20090420/testcases/bin/cgroup_regression_test.sh: line 253: 503 Terminated sleep 100 > /root/subrata/ltp/ltp-intermediate-20090420/testcases/bin/cgroup_regression_test.sh: line 308: 522 Terminated ./test_6_2 > cgroup_regression_test 6 PASS : no kernel bug was found > /root/subrata/ltp/ltp-intermediate-20090420/testcases/bin/cgroup_regression_test.sh: line 363: 3693 Terminated sleep 100 < cgroup/0 > /root/subrata/ltp/ltp-intermediate-20090420/testcases/bin/cgroup_regression_test.sh: line 384: 3712 Terminated sleep 100 < cgroup/0 > cgroup_regression_test 7 PASS : no kernel bug was found > cgroup_regression_test 8 PASS : no kernel bug was found > cgroup_regression_test 9 PASS : no kernel warning was found > cgroup_regression_test 10 PASS : no kernel warning was found > <<<execution_status>>> > > However, i can see the following from the config file i used (attached): > > # grep -i CONFIG_LOCKDEP config > CONFIG_LOCKDEP_SUPPORT=y > IIUC, CONFIG_LOCKDEP_SUPPORT=y means lockdep is supported by that arch, and then you can enable CONFIG_LOCKDEP. ;) |