From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932159AbaD1K2f (ORCPT ); Mon, 28 Apr 2014 06:28:35 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:44827 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932067AbaD1K2d (ORCPT ); Mon, 28 Apr 2014 06:28:33 -0400 Date: Mon, 28 Apr 2014 12:28:19 +0200 From: Peter Zijlstra To: Daniel Lezcano Cc: "Rafael J. Wysocki" , Amit Kucheria , Ingo Molnar , Lists linaro-kernel , Linux PM list , Linux Kernel Mailing List Subject: Re: [PATCH 2/3] sched: idle: Add sched balance option Message-ID: <20140428102819.GG27561@twins.programming.kicks-ass.net> References: <1398342291-16322-1-git-send-email-daniel.lezcano@linaro.org> <535911DC.9050109@linaro.org> <2713863.BLQTYQm2Oa@vostro.rjw.lan> <20140425132055.GC11096@twins.programming.kicks-ass.net> <535A94E3.5080004@linaro.org> <20140425184327.GH26782@laptop.programming.kicks-ass.net> <535E28D0.7050502@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <535E28D0.7050502@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 Mon, Apr 28, 2014 at 12:09:20PM +0200, Daniel Lezcano wrote: > I agree a numerical value is not flexible. But it sounds weird to put a > scheduler option in the sysfs and maybe more options will follow. > > I am wondering if we shouldn't create a new cgroup for 'energy' and put > everything in there. So we will have more flexibility for extension and we > will be able to create a group of tasks for performance and a group of tasks > for energy saving. > > Does it make sense ? The old knobs used to live here: -What: /sys/devices/system/cpu/sched_mc_power_savings - /sys/devices/system/cpu/sched_smt_power_savings Not entirely sure that's a fine place, but it has precedent.