From 824340363d0c2564533156691aa8cf3d9a92ac63 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Tue, 29 May 2018 13:19:01 +0300 Subject: [PATCH] disable thread scheduler on intel --- Utilities/Thread.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 52299871d5..1e84c7c2df 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -1878,10 +1878,8 @@ void thread_ctrl::detect_cpu_layout() { g_native_core_layout.store(native_core_arrangement::amd_ccx); } - else if (system_id.find("i3") != std::string::npos || system_id.find("i7") != std::string::npos) - { - g_native_core_layout.store(native_core_arrangement::intel_ht); - } + + // TODO: Detect hyperthreaded intel CPUs } u16 thread_ctrl::get_affinity_mask(thread_class group)