[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <491AC37D.6050105@linux.vnet.ibm.com>
Date: Wed, 12 Nov 2008 17:22:29 +0530
From: Balbir Singh <balbir@...ux.vnet.ibm.com>
To: Ingo Molnar <mingo@...e.hu>
CC: Linux Kernel <linux-kernel@...r.kernel.org>,
Dhaval Giani <dhaval@...ux.vnet.ibm.com>,
Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>,
Vaidyanathan S <svaidyan@...ibm.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Bharata B Rao <bharata@...ux.vnet.ibm.com>
Subject: Re: [PATCH][mmotm] Sched fix stale value in average load per task
Ingo Molnar wrote:
> * Balbir Singh <balbir@...ux.vnet.ibm.com> wrote:
>
>> cpu_avg_load_per_task() returns a stale value when nr_running is 0.
>> It returns an older stale (caculated when nr_running was non zero)
>> value. This patch returns and sets rq->avg_load_per_task to zero
>> when nr_running is 0.
>>
>> Compile and boot tested on a x86_64 box.
>>
>> Signed-off-by: Balbir Singh <balbir@...ux.vnet.ibm.com>
>> ---
>>
>> kernel/sched.c | 2 ++
>> 1 file changed, 2 insertions(+)
>
> applied to tip/sched/urgent, thanks Balbir!
>
> i'm wondering, have you observed load-balancer misbehavior due to this
> load-average imprecision bug, on some workload? (or have you found
> this via code review)
Thanks, Ingo!
I found this issue through code review. I did not see any misbehaviour yet due
to load-average imprecision.
--
Balbir
PS: FYI: I missed this email, since my name was missing in the to and cc list.
Could you check to see if there is any issue with your mailer, I'll do the same.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists