History log of /external/ltp/testcases/kernel/controllers/memcg/regression/memcg_test_1.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
354ebb48db8e66a853a58379a4808d5dcd1ceac3 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> cleanup code indent

Cleanup the code indent using:

find . -name *.c -exec Lindent {} \;

It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/controllers/memcg/regression/memcg_test_1.c
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/controllers/memcg/regression/memcg_test_1.c
ec6edca7aa42b6affd989ef91b5897f96795e40f 18-Oct-2012 Chris Dearman <chris@mips.com> Add missing newline at end of file

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e '$a\'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/controllers/memcg/regression/memcg_test_1.c
1e6f5a673655551de5734ff31ef48cd63b604e6d 19-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Resolving all compile errors via a script

This may leave dupe calls to tst_exit in main, but those are easier
to deal (and much less) than no-compile scenarios.

As a side-effect, fix all trailing whitespace issues.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/controllers/memcg/regression/memcg_test_1.c
6c4d1c6d4b3c116ff88f9209b4860940fb8659a8 18-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Fix all warnings.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/controllers/memcg/regression/memcg_test_1.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/controllers/memcg/regression/memcg_test_1.c
10b933548ef208cfd1042bfe54871ed04849c059 14-Sep-2009 subrata_modak <subrata_modak> Add new testcases for memcgroup: My workmate Li Zefan (lizf@cn.fujitsu.com) has created some testcases for cgroup's subsystem "memory" in the last year. And, He catched some kernel bugs through these testcases. So we think you glad to push them into LTP. There are total 40 testcases that have been added. These testcases contain the basis operation test, part functionality test and stress test of memcgroup. How to run this test: # runltp -f controllers.
Result:
memcgroup_function_test 1 TPASS : rss=4096/4096, cache=0/0
memcgroup_function_test 2 TPASS : rss=0/0, cache=4096/4096
memcgroup_function_test 3 TPASS : rss=0/0, cache=4096/4096
memcgroup_function_test 4 TPASS : rss=4096/4096, cache=8192/8192
memcgroup_function_test 5 TPASS : rss=4096/4096, cache=0/0
memcgroup_function_test 6 TPASS : rss=4096/4096, cache=0/0
memcgroup_function_test 6 TPASS : rss=0/0, cache=0/0
memcgroup_function_test 7 TPASS : rss=0/0, cache=4096/4096
memcgroup_function_test 7 TPASS : rss=0/0, cache=0/0
memcgroup_function_test 8 TPASS : rss=0/0, cache=4096/4096
memcgroup_function_test 8 TPASS : rss=0/0, cache=0/0
memcgroup_function_test 9 TPASS : rss=4096/4096, cache=8192/8192
memcgroup_function_test 9 TPASS : rss=0/0, cache=0/0
memcgroup_function_test 10 TPASS : rss=4096/4096, cache=0/0
memcgroup_function_test 10 TPASS : rss=0/0, cache=0/0
memcgroup_function_test 11 TPASS : failcnt=6
memcgroup_function_test 12 TPASS : failcnt=6
memcgroup_function_test 13 TPASS : failcnt=6
memcgroup_function_test 14 TPASS : process 5793 is killed
memcgroup_function_test 15 TPASS : process 5803 is killed
memcgroup_function_test 16 TPASS : process 5813 is killed
memcgroup_function_test 17 TPASS : process 5824 is killed
memcgroup_function_test 18 TPASS : process 5835 is killed
memcgroup_function_test 19 TPASS : process 5845 is killed
memcgroup_function_test 20 TPASS : process 5854 is killed
memcgroup_function_test 21 TPASS : process 5863 is killed
memcgroup_function_test 22 TPASS : input=4095, limit_in_bytes=4096
memcgroup_function_test 23 TPASS : input=4097, limit_in_bytes=8192
memcgroup_function_test 24 TPASS : input=1, limit_in_bytes=4096
memcgroup_function_test 25 TPASS : return value is 0
memcgroup_function_test 26 TPASS : return value is 1
memcgroup_function_test 27 TPASS : return value is 1
memcgroup_function_test 28 TPASS : return value is 1
memcgroup_function_test 29 TPASS : force memory succeeded
memcgroup_function_test 30 TPASS : force memory failed as expected
memcgroup_function_test 31 TPASS : return value is 0
memcgroup_function_test 32 TPASS : return value is 0
memcgroup_function_test 33 TPASS : return value is 0
memcgroup_function_test 34 TPASS : return value is 0
memcgroup_function_test 35 TPASS : return value is 1
memcgroup_function_test 36 TPASS : rss=4096/4096, cache=0/0
memcgroup_function_test 36 TPASS : rss=0/0, cache=0/0
memcgroup_function_test 37 TPASS : rss=4096/4096, cache=0/0
memcgroup_function_test 37 TPASS : rss=0/0, cache=0/0
memcgroup_function_test 38 TPASS : rss=4096/4096, cache=0/0
memcgroup_function_test 38 TPASS : rss=0/0, cache=0/0
memcgroup_stress_test 1 TPASS : stress test 1 passed
memcgroup_stress_test 2 TPASS : stress test 2 passed
INFO: ltp-pan reported all tests PASS,
Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>,
/external/ltp/testcases/kernel/controllers/memcg/regression/memcg_test_1.c