Explorar el Código

sched: remove __update_rq_clock() call from entity_tick()

remove __update_rq_clock() call from entity_tick().

no change in functionality because scheduler_tick() already calls
__update_rq_clock().

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar hace 18 años
padre
commit
d9e0e6aa6d
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      kernel/sched_fair.c

+ 0 - 3
kernel/sched_fair.c

@@ -665,11 +665,8 @@ static void put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev)
 
 static void entity_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr)
 {
-	struct rq *rq = rq_of(cfs_rq);
 	struct sched_entity *next;
 
-	__update_rq_clock(rq);
-
 	/*
 	 * Dequeue and enqueue the task to update its
 	 * position within the tree: