Home
last modified time | relevance | path

Searched refs:commit_left (Results 1 - 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/mem/tunable/
H A Dovercommit_memory.c43 * commit_left(allocatable memory) = CommitLimit - Committed_AS
44 * a. less than commit_left: commit_left / 2, alloc should pass
46 * c. greater than commit_left: commit_left * 2, alloc should fail
49 * it couldn't choose 'equal to commit_left' as a case, because
50 * commit_left rely on Committed_AS, but the Committed_AS is not stable.
78 static long commit_left; variable
135 alloc_and_check(commit_left * 2, EXPECT_FAIL); in overcommit_memory_test()
138 alloc_and_check(commit_left / in overcommit_memory_test()
[all...]

Completed in 1 milliseconds