Re: [patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-10-02 Thread Paul Turner
On Mon, Sep 24, 2012 at 1:39 PM, Benjamin Segall wrote: > blocked_load_avg ~= \sum_child > child.runnable_avg_sum/child.runnable_avg_period * child.weight > > The thought was: So if all the children have hit zero runnable_avg_sum > (or in the case of a child task, will when they wake up), then >

Re: [patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-10-02 Thread Paul Turner
On Mon, Sep 24, 2012 at 1:39 PM, Benjamin Segall bseg...@google.com wrote: blocked_load_avg ~= \sum_child child.runnable_avg_sum/child.runnable_avg_period * child.weight The thought was: So if all the children have hit zero runnable_avg_sum (or in the case of a child task, will when they

Re: [patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-09-24 Thread Benjamin Segall
blocked_load_avg ~= \sum_child child.runnable_avg_sum/child.runnable_avg_period * child.weight The thought was: So if all the children have hit zero runnable_avg_sum (or in the case of a child task, will when they wake up), then blocked_avg sum should also hit zero at the same and we're in

Re: [patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-09-24 Thread Jan H. Schönherr
Am 23.08.2012 16:14, schrieb p...@google.com: > From: Paul Turner > > Now that the machinery in place is in place to compute contributed load in a > bottom up fashion; replace the shares distribution code within update_shares() > accordingly. [snip] > static int update_shares_cpu(struct

Re: [patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-09-24 Thread Jan H. Schönherr
Am 23.08.2012 16:14, schrieb p...@google.com: From: Paul Turner p...@google.com Now that the machinery in place is in place to compute contributed load in a bottom up fashion; replace the shares distribution code within update_shares() accordingly. [snip] static int

Re: [patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-09-24 Thread Benjamin Segall
blocked_load_avg ~= \sum_child child.runnable_avg_sum/child.runnable_avg_period * child.weight The thought was: So if all the children have hit zero runnable_avg_sum (or in the case of a child task, will when they wake up), then blocked_avg sum should also hit zero at the same and we're in

[patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-08-23 Thread pjt
From: Paul Turner Now that the machinery in place is in place to compute contributed load in a bottom up fashion; replace the shares distribution code within update_shares() accordingly. Signed-off-by: Paul Turner Reviewed-by: Ben Segall --- kernel/sched/debug.c |8 ---

[patch 11/16] sched: replace update_shares weight distribution with per-entity computation

2012-08-23 Thread pjt
From: Paul Turner p...@google.com Now that the machinery in place is in place to compute contributed load in a bottom up fashion; replace the shares distribution code within update_shares() accordingly. Signed-off-by: Paul Turner p...@google.com Reviewed-by: Ben Segall bseg...@google.com ---