From mboxrd@z Thu Jan 1 00:00:00 1970 From: peterz@infradead.org (Peter Zijlstra) Date: Tue, 27 May 2014 15:48:16 +0200 Subject: [PATCH v2 03/11] sched: fix avg_load computation In-Reply-To: <1400860385-14555-4-git-send-email-vincent.guittot@linaro.org> References: <1400860385-14555-1-git-send-email-vincent.guittot@linaro.org> <1400860385-14555-4-git-send-email-vincent.guittot@linaro.org> Message-ID: <20140527134816.GC11074@laptop.programming.kicks-ass.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, May 23, 2014 at 05:52:57PM +0200, Vincent Guittot wrote: > The computation of avg_load and avg_load_per_task should only takes into > account the number of cfs tasks. The non cfs task are already taken into > account by decreasing the cpu's capacity (cpu_power) and they will be tracked > in the CPU's utilization (group_activity) of the next patches Ah yes, very good. I don't think we had h_nr_running back when I frobbed this last. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752585AbaE0NsY (ORCPT ); Tue, 27 May 2014 09:48:24 -0400 Received: from casper.infradead.org ([85.118.1.10]:37794 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752066AbaE0NsW (ORCPT ); Tue, 27 May 2014 09:48:22 -0400 Date: Tue, 27 May 2014 15:48:16 +0200 From: Peter Zijlstra To: Vincent Guittot Cc: mingo@kernel.org, linux-kernel@vger.kernel.org, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, preeti@linux.vnet.ibm.com, Morten.Rasmussen@arm.com, efault@gmx.de, nicolas.pitre@linaro.org, linaro-kernel@lists.linaro.org, daniel.lezcano@linaro.org Subject: Re: [PATCH v2 03/11] sched: fix avg_load computation Message-ID: <20140527134816.GC11074@laptop.programming.kicks-ass.net> References: <1400860385-14555-1-git-send-email-vincent.guittot@linaro.org> <1400860385-14555-4-git-send-email-vincent.guittot@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1400860385-14555-4-git-send-email-vincent.guittot@linaro.org> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 23, 2014 at 05:52:57PM +0200, Vincent Guittot wrote: > The computation of avg_load and avg_load_per_task should only takes into > account the number of cfs tasks. The non cfs task are already taken into > account by decreasing the cpu's capacity (cpu_power) and they will be tracked > in the CPU's utilization (group_activity) of the next patches Ah yes, very good. I don't think we had h_nr_running back when I frobbed this last.