Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211979
b: refs/heads/master
c: 17bdcf9
h: refs/heads/master
i:
  211977: cf085d4
  211975: 50ec948
v: v3
  • Loading branch information
Linus Walleij authored and Ingo Molnar committed Oct 18, 2010
1 parent f6b3c7b commit adc7da1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 34f971f6f7988be4d014eec3e3526bee6d007ffa
refs/heads/master: 17bdcf949d03306b308c5fb694849cd35f119807
6 changes: 0 additions & 6 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1855,12 +1855,6 @@ static void dec_nr_running(struct rq *rq)

static void set_load_weight(struct task_struct *p)
{
if (task_has_rt_policy(p)) {
p->se.load.weight = 0;
p->se.load.inv_weight = WMULT_CONST;
return;
}

/*
* SCHED_IDLE tasks get minimal weight:
*/
Expand Down

0 comments on commit adc7da1

Please sign in to comment.