Searched refs:vm_overcommit (Results 1 – 1 of 1) sorted by relevance
407 int vm_overcommit; in os_overcommits_sysctl() local410 sz = sizeof(vm_overcommit); in os_overcommits_sysctl()416 if (sysctl(mib, 2, &vm_overcommit, &sz, NULL, 0) != 0) { in os_overcommits_sysctl()420 if (sysctlbyname("vm.overcommit", &vm_overcommit, &sz, NULL, 0) != 0) { in os_overcommits_sysctl()425 return ((vm_overcommit & 0x3) == 0); in os_overcommits_sysctl()