Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031804AbbKEKMb (ORCPT ); Thu, 5 Nov 2015 05:12:31 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:37075 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030570AbbKEKM3 (ORCPT ); Thu, 5 Nov 2015 05:12:29 -0500 Date: Thu, 5 Nov 2015 11:12:18 +0100 From: Peter Zijlstra To: Jacob Pan Cc: Eduardo Valentin , Thomas Gleixner , LKML , Arjan van de Ven , Paul Turner , Len Brown , Srinivas Pandruvada , Tim Chen , Andi Kleen , Rafael Wysocki Subject: Re: [RFC PATCH 0/3] CFS idle injection Message-ID: <20151105101218.GB3604@twins.programming.kicks-ass.net> References: <1446509428-5616-1-git-send-email-jacob.jun.pan@linux.intel.com> <20151104060654.GC8850@localhost.localdomain> <20151104085830.010e69f8@yairi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151104085830.010e69f8@yairi> 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 Content-Length: 1151 Lines: 28 People, trim your emails! On Wed, Nov 04, 2015 at 08:58:30AM -0800, Jacob Pan wrote: > > I also like #2 too. Specially now that it is not limited to a specific > > platform. One question though, could you still keep the cooling device > > support of it? In some systems, it might make sense to enable / > > disable idle injections based on temperature. > One of the key difference between 1 and 2 is that #2 is open loop > control, since we don't have CPU c-states info baked into scheduler. _yet_, there's people working on that. The whole power aware scheduling stuff needs that. > To close the loop, perhaps we can export some internal APIs to the > thermal subsystem then the thermal governors can pick the condition to > inject idle. I would much rather that all be part of the power aware stuff, such that the scheduler itself is aware of thermal limits and can migrate load away if needed. -- 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/