sched: remove the 'u64 now' parameter from __enqueue_sleeper()
remove the 'u64 now' parameter from __enqueue_sleeper(). ( identity transformation that causes no change in functionality. ) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
c7e9b5b293
commit
dfdc119e54
1 changed files with 2 additions and 3 deletions
|
@ -486,8 +486,7 @@ update_stats_curr_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||||
* Scheduling class queueing methods:
|
* Scheduling class queueing methods:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void __enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||||
__enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
|
|
||||||
{
|
{
|
||||||
unsigned long load = cfs_rq->load.weight, delta_fair;
|
unsigned long load = cfs_rq->load.weight, delta_fair;
|
||||||
long prev_runtime;
|
long prev_runtime;
|
||||||
|
@ -537,7 +536,7 @@ enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
|
||||||
se->delta_fair_sleep += delta_fair;
|
se->delta_fair_sleep += delta_fair;
|
||||||
if (unlikely(abs(se->delta_fair_sleep) >=
|
if (unlikely(abs(se->delta_fair_sleep) >=
|
||||||
sysctl_sched_stat_granularity)) {
|
sysctl_sched_stat_granularity)) {
|
||||||
__enqueue_sleeper(cfs_rq, se, now);
|
__enqueue_sleeper(cfs_rq, se);
|
||||||
se->delta_fair_sleep = 0;
|
se->delta_fair_sleep = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue