From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752935AbbCXPZV (ORCPT ); Tue, 24 Mar 2015 11:25:21 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:49572 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752459AbbCXPZS (ORCPT ); Tue, 24 Mar 2015 11:25:18 -0400 Date: Tue, 24 Mar 2015 16:25:05 +0100 From: Peter Zijlstra To: Morten Rasmussen Cc: mingo@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, yuyang.du@intel.com, preeti@linux.vnet.ibm.com, mturquette@linaro.org, nico@linaro.org, rjw@rjwysocki.net, juri.lelli@arm.com, linux-kernel@vger.kernel.org Subject: Re: [RFCv3 PATCH 43/48] sched: Introduce energy awareness into detach_tasks Message-ID: <20150324152505.GS23123@twins.programming.kicks-ass.net> References: <1423074685-6336-1-git-send-email-morten.rasmussen@arm.com> <1423074685-6336-44-git-send-email-morten.rasmussen@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423074685-6336-44-git-send-email-morten.rasmussen@arm.com> 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 Wed, Feb 04, 2015 at 06:31:20PM +0000, Morten Rasmussen wrote: > From: Dietmar Eggemann > > Energy-aware load balancing does not rely on env->imbalance but instead it > evaluates the system-wide energy difference for each task on the src rq by > potentially moving it to the dst rq. If this energy difference is lesser > than zero the task is actually moved from src to dst rq. See this is another place where the parameterization makes perfect sense; the weight imbalance or the energy difference is the 'same' thing just a different unit. All we really need is a task -> unit map to make this whole again.