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

/external/ltp/testcases/kernel/mem/tunable/
H A Dovercommit_memory.c16 * There are two tunables overcommit_memory and overcommit_ratio under
28 * The overcommit_ratio tunable defines the amount by which the kernel
34 * CommitLimit = SwapTotal + MemTotal * overcommit_ratio
53 * the system is limited to CommitLimit(Swap+RAM*overcommit_ratio)
86 static long overcommit_ratio; variable
102 access(PATH_SYSVM "overcommit_ratio", F_OK) == -1)
107 overcommit_ratio = SAFE_STRTOL(R_opt, 0, LONG_MAX);
109 overcommit_ratio = DEFAULT_OVER_RATIO;
112 old_overcommit_ratio = get_sys_tune("overcommit_ratio");
134 set_sys_tune("overcommit_ratio", overcommit_rati
[all...]

Completed in 68 milliseconds