summaryrefslogtreecommitdiff
path: root/src/scheduler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/scheduler.rs')
-rw-r--r--src/scheduler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scheduler.rs b/src/scheduler.rs
index 7645498..8618b78 100644
--- a/src/scheduler.rs
+++ b/src/scheduler.rs
@@ -149,7 +149,7 @@ impl<'a> Scheduler<'a> {
let mut dispatched_task = DispatchedTask::new(&task);
// Low budget tasks go to e-cores
- let cpu = self.e_core_selector.next_core();
+ let cpu = self.e_core_selector.next_core(task.cpu);
if cpu >= 0 {
dispatched_task.cpu = cpu;
} else {