scheduler: Do not update load of disabled cores

This commit is contained in:
Pawel Dziepak
2014-01-22 03:04:01 +01:00
parent c9b30004b8
commit 5d79095e44
@@ -420,6 +420,9 @@ CoreEntry::UpdateLoad(int32 delta)
ASSERT(gTrackCoreLoad);
if (fCPUCount <= 0)
return;
atomic_add(&fLoad, delta);
bigtime_t now = system_time();