Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27217
b: refs/heads/master
c: 8f17fc2
h: refs/heads/master
i:
  27215: cf19f01
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jun 17, 2006
1 parent 886257d commit 55ebb80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: 88d113601ca19c82feb038438c8c5db502d146f9
refs/heads/master: 8f17fc20bfb75bcec4cfeda789738979c8338fdc
9 changes: 4 additions & 5 deletions trunk/kernel/posix-cpu-timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,9 @@ static void check_process_timers(struct task_struct *tsk,
}
t = tsk;
do {
if (unlikely(t->flags & PF_EXITING))
continue;

ticks = cputime_add(cputime_add(t->utime, t->stime),
prof_left);
if (!cputime_eq(prof_expires, cputime_zero) &&
Expand All @@ -1193,11 +1196,7 @@ static void check_process_timers(struct task_struct *tsk,
t->it_sched_expires > sched)) {
t->it_sched_expires = sched;
}

do {
t = next_thread(t);
} while (unlikely(t->flags & PF_EXITING));
} while (t != tsk);
} while ((t = next_thread(t)) != tsk);
}
}

Expand Down

0 comments on commit 55ebb80

Please sign in to comment.