Commit [8b7cc6]  Maximize  Restore  History

mm/tunable: add a new testcase min_free_kbytes

The tune is used to control free memory, and system always
reserve > min_free_kbytes memory at least.

Since the tune is not too large or too little, which will
lead to the system hang, so I choose two cases, and test them
on all overcommit_memory policy (0, 1, 2), at the same time,
compare the current free memory with the tunable value
repeatedly.

a) default min_free_kbytes with all overcommit memory policy
b) half of mem_free with all overcommit memory policy

Signed-off-by: Zhouping Liu <zliu@redhat.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

Zhouping Liu Zhouping Liu 2012-03-23

Wanlong Gao Wanlong Gao 2012-03-26

changed runtest/mm
added testcases/kernel/mem/tunable/min_free_kbytes.c
runtest/mm Diff Switch to side-by-side view
Loading...
testcases/kernel/mem/tunable/min_free_kbytes.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks