Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211980
b: refs/heads/master
c: ef8002f
h: refs/heads/master
v: v3
  • Loading branch information
Nikhil Rao authored and Ingo Molnar committed Oct 18, 2010
1 parent adc7da1 commit e04e6f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17bdcf949d03306b308c5fb694849cd35f119807
refs/heads/master: ef8002f6848236de5adc613063ebeabddea8a6fb
3 changes: 3 additions & 0 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -2025,6 +2025,9 @@ task_hot(struct task_struct *p, u64 now, struct sched_domain *sd)
if (p->sched_class != &fair_sched_class)
return 0;

if (unlikely(p->policy == SCHED_IDLE))
return 0;

/*
* Buddy candidates are cache hot:
*/
Expand Down

0 comments on commit e04e6f2

Please sign in to comment.