diff options
author | Gabriel Marks <gabriel.marks@mongodb.com> | 2022-11-29 20:38:00 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-29 21:37:47 +0000 |
commit | e88f9219666b223ee6f5fc621d2a0abdf44f392a (patch) | |
tree | 95a1a11c6f0256893129cdd88d7400180b1a3464 /src/mongo/util/processinfo_freebsd.cpp | |
parent | 04ccacc3fc835d99bd53c0b9beaa9f99f4622b3e (diff) | |
download | mongo-e88f9219666b223ee6f5fc621d2a0abdf44f392a.tar.gz |
SERVER-67704 SERVER-67705 Fix processor package counting for ARM
Diffstat (limited to 'src/mongo/util/processinfo_freebsd.cpp')
-rw-r--r-- | src/mongo/util/processinfo_freebsd.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/util/processinfo_freebsd.cpp b/src/mongo/util/processinfo_freebsd.cpp index b57e9ff6c1a..66709cbfe57 100644 --- a/src/mongo/util/processinfo_freebsd.cpp +++ b/src/mongo/util/processinfo_freebsd.cpp @@ -94,10 +94,6 @@ int getSysctlByNameWithDefault<std::string>(const char* sysctlName, return 0; } -bool ProcessInfo::checkNumaEnabled() { - return false; -} - int ProcessInfo::getVirtualMemorySize() { kvm_t* kd = NULL; int cnt = 0; @@ -166,7 +162,7 @@ void ProcessInfo::SystemInfo::collectSystemInfo() { pageSize = static_cast<unsigned long long>(sysconf(_SC_PAGESIZE)); - hasNuma = checkNumaEnabled(); + hasNuma = false; } void ProcessInfo::getExtraInfo(BSONObjBuilder& info) {} |