From 6659050f9772bd09be7bc42151d148b0c751e683 Mon Sep 17 00:00:00 2001 From: Tobias Bouschen <tobias.bouschen@googlemail.com> Date: Thu, 21 Mar 2019 11:55:25 +0100 Subject: [PATCH] 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. --- kernel/sched/idle_task.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/idle_task.c b/kernel/sched/idle_task.c index 92ac905ce477..a58723ff447f 100644 --- a/kernel/sched/idle_task.c +++ b/kernel/sched/idle_task.c @@ -29,7 +29,6 @@ pick_next_task_idle(struct rq *rq, struct task_struct *prev, struct rq_flags *rf int next_mode; struct pb_rq *pb = &(rq->pb); - pb->count_admin_cycles++; next_mode = determine_next_mode_pb(rq); if (next_mode == PB_EXEC_MODE) -- GitLab