Skip to content
Snippets Groups Projects
Commit 6659050f authored by Tobias Bouschen's avatar Tobias Bouschen
Browse files

Fix pick_next_task_idle

Removes call incrementing the number of current admin cycles. This
should only be done during the task tick and not when picking the next
task.
parent 46a59a7d
Branches
No related tags found
Loading
...@@ -29,7 +29,6 @@ pick_next_task_idle(struct rq *rq, struct task_struct *prev, struct rq_flags *rf ...@@ -29,7 +29,6 @@ pick_next_task_idle(struct rq *rq, struct task_struct *prev, struct rq_flags *rf
int next_mode; int next_mode;
struct pb_rq *pb = &(rq->pb); struct pb_rq *pb = &(rq->pb);
pb->count_admin_cycles++;
next_mode = determine_next_mode_pb(rq); next_mode = determine_next_mode_pb(rq);
if (next_mode == PB_EXEC_MODE) if (next_mode == PB_EXEC_MODE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment