Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63583
b: refs/heads/master
c: 8179ca2
h: refs/heads/master
i:
  63581: 8bfabf9
  63579: 56424a4
  63575: 263a94c
  63567: 7b49e2c
  63551: dc136b1
v: v3
  • Loading branch information
Ingo Molnar committed Aug 2, 2007
1 parent 40373ec commit 9ad2609
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3c7011969274768818842b0a08ec45d88f45b4f
refs/heads/master: 8179ca23d513717cc5e3dc81a1ffe01af0955468
13 changes: 2 additions & 11 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,7 @@ __update_curr(struct cfs_rq *cfs_rq, struct sched_entity *curr, u64 now)
return;

delta_exec = curr->delta_exec;
#ifdef CONFIG_SCHEDSTATS
if (unlikely(delta_exec > curr->exec_max))
curr->exec_max = delta_exec;
#endif
schedstat_set(curr->exec_max, max((u64)delta_exec, curr->exec_max));

curr->sum_exec_runtime += delta_exec;
cfs_rq->exec_clock += delta_exec;
Expand Down Expand Up @@ -425,13 +422,7 @@ __update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
{
unsigned long delta_fair = se->delta_fair_run;

#ifdef CONFIG_SCHEDSTATS
{
s64 delta_wait = now - se->wait_start;
if (unlikely(delta_wait > se->wait_max))
se->wait_max = delta_wait;
}
#endif
schedstat_set(se->wait_max, max(se->wait_max, now - se->wait_start));

if (unlikely(se->load.weight != NICE_0_LOAD))
delta_fair = calc_weighted(delta_fair, se->load.weight,
Expand Down

0 comments on commit 9ad2609

Please sign in to comment.