Searched refs:vm_overcommit (Results 1 – 2 of 2) sorted by relevance
/external/jemalloc/src/ |
D | pages.c | 241 int vm_overcommit; in os_overcommits_sysctl() local 244 sz = sizeof(vm_overcommit); in os_overcommits_sysctl() 245 if (sysctlbyname("vm.overcommit", &vm_overcommit, &sz, NULL, 0) != 0) in os_overcommits_sysctl() 248 return ((vm_overcommit & 0x3) == 0); in os_overcommits_sysctl()
|
/external/jemalloc_new/src/ |
D | pages.c | 421 int vm_overcommit; in os_overcommits_sysctl() local 424 sz = sizeof(vm_overcommit); in os_overcommits_sysctl() 430 if (sysctl(mib, 2, &vm_overcommit, &sz, NULL, 0) != 0) { in os_overcommits_sysctl() 434 if (sysctlbyname("vm.overcommit", &vm_overcommit, &sz, NULL, 0) != 0) { in os_overcommits_sysctl() 439 return ((vm_overcommit & 0x3) == 0); in os_overcommits_sysctl()
|