Initialize core heaps for the total amount of CPU cores the machine has.

This commit is contained in:
Michael Mueller
2024-07-30 16:05:08 +02:00
parent be81dd4353
commit c3fd09c421

View File

@@ -296,7 +296,7 @@ public:
}
}
for (const auto core_id : core_set)
for (auto core_id = 0; core_id < system::topology::count_cores(); ++core_id)
{
const auto node_id = system::topology::node_id(core_id);
_core_heaps[core_id] = CoreHeap<S>{&_processor_heaps[node_id]};