Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116998
b: refs/heads/master
c: b0aa51b
h: refs/heads/master
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Oct 17, 2008
1 parent 25411b4 commit 1eb25b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: b968905292eaa52b25abb7b3e6c0841dac9f03ae
refs/heads/master: b0aa51b999c449e5e3f9faa1ee406e052d407fe7
2 changes: 1 addition & 1 deletion trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ pick_next(struct cfs_rq *cfs_rq, struct sched_entity *se)
struct rq *rq = rq_of(cfs_rq);
u64 pair_slice = rq->clock - cfs_rq->pair_start;

if (!cfs_rq->next || pair_slice > sched_slice(cfs_rq, cfs_rq->next)) {
if (!cfs_rq->next || pair_slice > sysctl_sched_min_granularity) {
cfs_rq->pair_start = rq->clock;
return se;
}
Expand Down

0 comments on commit 1eb25b8

Please sign in to comment.