Searched refs:vm_overcommit (Results 1 – 1 of 1) sorted by relevance
440 int vm_overcommit; in os_overcommits_sysctl() local443 sz = sizeof(vm_overcommit); in os_overcommits_sysctl()449 if (sysctl(mib, 2, &vm_overcommit, &sz, NULL, 0) != 0) { in os_overcommits_sysctl()453 if (sysctlbyname("vm.overcommit", &vm_overcommit, &sz, NULL, 0) != 0) { in os_overcommits_sysctl()458 return ((vm_overcommit & 0x3) == 0); in os_overcommits_sysctl()