mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
sched: remove the 'u64 now' parameter from update_stats_wait_start()
remove the 'u64 now' parameter from update_stats_wait_start(). ( identity transformation that causes no change in functionality. ) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
b7cc089657
commit
5870db5b83
1 changed files with 3 additions and 3 deletions
|
@ -345,7 +345,7 @@ static void update_curr(struct cfs_rq *cfs_rq)
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
update_stats_wait_start(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
|
update_stats_wait_start(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||||
{
|
{
|
||||||
se->wait_start_fair = cfs_rq->fair_clock;
|
se->wait_start_fair = cfs_rq->fair_clock;
|
||||||
schedstat_set(se->wait_start, rq_of(cfs_rq)->clock);
|
schedstat_set(se->wait_start, rq_of(cfs_rq)->clock);
|
||||||
|
@ -386,7 +386,7 @@ update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
|
||||||
* a dequeue/enqueue event is a NOP)
|
* a dequeue/enqueue event is a NOP)
|
||||||
*/
|
*/
|
||||||
if (se != cfs_rq_curr(cfs_rq))
|
if (se != cfs_rq_curr(cfs_rq))
|
||||||
update_stats_wait_start(cfs_rq, se, now);
|
update_stats_wait_start(cfs_rq, se);
|
||||||
/*
|
/*
|
||||||
* Update the key:
|
* Update the key:
|
||||||
*/
|
*/
|
||||||
|
@ -665,7 +665,7 @@ put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev, u64 now)
|
||||||
update_stats_curr_end(cfs_rq, prev, now);
|
update_stats_curr_end(cfs_rq, prev, now);
|
||||||
|
|
||||||
if (prev->on_rq)
|
if (prev->on_rq)
|
||||||
update_stats_wait_start(cfs_rq, prev, now);
|
update_stats_wait_start(cfs_rq, prev);
|
||||||
set_cfs_rq_curr(cfs_rq, NULL);
|
set_cfs_rq_curr(cfs_rq, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue