Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87384
b: refs/heads/master
c: e89996a
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Mar 15, 2008
1 parent ccdb354 commit ed63047
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3fe69747dab906cd6a8523230276a9820d6a514f
refs/heads/master: e89996ae3f9e88d4fd75751a15c10b19d197e702
2 changes: 2 additions & 0 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1108,11 +1108,13 @@ calc_delta_fair(unsigned long delta_exec, struct load_weight *lw)
static inline void update_load_add(struct load_weight *lw, unsigned long inc)
{
lw->weight += inc;
lw->inv_weight = 0;
}

static inline void update_load_sub(struct load_weight *lw, unsigned long dec)
{
lw->weight -= dec;
lw->inv_weight = 0;
}

/*
Expand Down

0 comments on commit ed63047

Please sign in to comment.