Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350129
b: refs/heads/master
c: fc79e24
h: refs/heads/master
i:
  350127: 4f15255
v: v3
  • Loading branch information
Kirill Tkhai authored and Ingo Molnar committed Jan 31, 2013
1 parent 27cc9a1 commit aff265c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 62188451f0d63add7ad0cd2a1ae269d600c1663d
refs/heads/master: fc79e240be5aa379dd36a62158be5a5ee0e4aec7
4 changes: 2 additions & 2 deletions trunk/kernel/sched/rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,8 +925,8 @@ static void update_curr_rt(struct rq *rq)
return;

delta_exec = rq->clock_task - curr->se.exec_start;
if (unlikely((s64)delta_exec < 0))
delta_exec = 0;
if (unlikely((s64)delta_exec <= 0))
return;

schedstat_set(curr->se.statistics.exec_max,
max(curr->se.statistics.exec_max, delta_exec));
Expand Down

0 comments on commit aff265c

Please sign in to comment.