Re: [PATCH] sched: Fix calc_cfs_shares() to consider blocked_load_avg also

2013-03-04 Thread Paul Turner
(I'm still in New Zealand and won't be on regular email until March 6th, but I just saw this and wanted to comment quickly) On Thu, Feb 28, 2013 at 7:26 PM, Namhyung Kim wrote: > From: Namhyung Kim > > The calc_tg_weight() and calc_cfs_shares() used cfs_rq->load.weight > but this is no longer va

[PATCH] sched: Fix calc_cfs_shares() to consider blocked_load_avg also

2013-02-27 Thread Namhyung Kim
From: Namhyung Kim The calc_tg_weight() and calc_cfs_shares() used cfs_rq->load.weight but this is no longer valid for per-entity load tracking since cfs_rq->tg_load_contrib consists of runnable_load_avg and blocked_ load_avg. Simply using load.weight here will lose blocked_load_avg part so will