Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834Ab2BTQKd (ORCPT ); Mon, 20 Feb 2012 11:10:33 -0500 Received: from merlin.infradead.org ([205.233.59.134]:53130 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753772Ab2BTQKb convert rfc822-to-8bit (ORCPT ); Mon, 20 Feb 2012 11:10:31 -0500 Message-ID: <1329754219.2293.357.camel@twins> Subject: Re: [RFC PATCH 08/14] sched: normalize tg load contributions against runnable time From: Peter Zijlstra To: Paul Turner Cc: linux-kernel@vger.kernel.org, Venki Pallipadi , Srivatsa Vaddagiri , Mike Galbraith , Kamalesh Babulal , Ben Segall , Ingo Molnar , Vaidyanathan Srinivasan Date: Mon, 20 Feb 2012 17:10:19 +0100 In-Reply-To: References: <20120202013825.20844.26081.stgit@kitami.mtv.corp.google.com> <20120202013826.20844.39042.stgit@kitami.mtv.corp.google.com> <1329348972.2293.189.camel@twins> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 946 Lines: 24 On Fri, 2012-02-17 at 04:32 -0800, Paul Turner wrote: > > Neither the comment nor the changelog mention this, it should, it should > > also mention why it doesn't matter (does it?). > > It doesn't and it should. Although I'll take the liberty shortening > it a little to something For the in-code comment that's fine, it would be good for the changelog to have the entire story though. > like "unfortunately we cannot compute > runnable_avg(tg) directly, however, XXX is a reasonable > approximation." Yeah, not easily done indeed, you could compute a corrective term if you'd have something like the avg and variance of runnable over the various CPUs, but those too suck to have to compute. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/