diff options
author | Sviatlana Zuiko <sviatlana.zuiko@mongodb.com> | 2022-11-23 22:10:48 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-23 22:47:40 +0000 |
commit | a42f617f8c91c7d3ad2e99914bad71380fee5a24 (patch) | |
tree | 7aff89e42cad8e89165f47a83b4787cbeae2f642 /src/mongo/util/processinfo_openbsd.cpp | |
parent | b02f52cf8a5b4068af003991466c1f2b05d0a711 (diff) | |
download | mongo-a42f617f8c91c7d3ad2e99914bad71380fee5a24.tar.gz |
Revert "SERVER-67704 SERVER-67705 Update host info to include CPU socket count + NUMA node count"
This reverts commit 327c538ae2cc1afa63c8ec68b84975ca2e93df74.
Diffstat (limited to 'src/mongo/util/processinfo_openbsd.cpp')
-rw-r--r-- | src/mongo/util/processinfo_openbsd.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/util/processinfo_openbsd.cpp b/src/mongo/util/processinfo_openbsd.cpp index ab7773ab4b1..09ef930501a 100644 --- a/src/mongo/util/processinfo_openbsd.cpp +++ b/src/mongo/util/processinfo_openbsd.cpp @@ -98,6 +98,10 @@ int getSysctlByIDWithDefault<std::string>(const int* sysctlID, return 0; } +bool ProcessInfo::checkNumaEnabled() { + return false; +} + int ProcessInfo::getVirtualMemorySize() { kvm_t* kd = NULL; int cnt = 0; @@ -179,7 +183,7 @@ void ProcessInfo::SystemInfo::collectSystemInfo() { pageSize = static_cast<unsigned long long>(sysconf(_SC_PAGESIZE)); - hasNuma = false; + hasNuma = checkNumaEnabled(); } void ProcessInfo::getExtraInfo(BSONObjBuilder& info) {} |