Эх сурвалжийг харах

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 18 жил өмнө
parent
commit
d9e0e6aa6d

+ 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)
 static void entity_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr)
 {
 {
-	struct rq *rq = rq_of(cfs_rq);
 	struct sched_entity *next;
 	struct sched_entity *next;
 
 
-	__update_rq_clock(rq);
-
 	/*
 	/*
 	 * Dequeue and enqueue the task to update its
 	 * Dequeue and enqueue the task to update its
 	 * position within the tree:
 	 * position within the tree: