Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755865AbbKROLJ (ORCPT ); Wed, 18 Nov 2015 09:11:09 -0500 Received: from mga09.intel.com ([134.134.136.24]:45093 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755632AbbKROLI (ORCPT ); Wed, 18 Nov 2015 09:11:08 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,313,1444719600"; d="scan'208";a="853876818" Date: Wed, 18 Nov 2015 06:10:26 -0800 From: Jacob Pan To: Ingo Molnar Cc: Peter Zijlstra , Ingo Molnar , Thomas Gleixner , John Stultz , LKML , Arjan van de Ven , Srinivas Pandruvada , Len Brown , Rafael Wysocki , Eduardo Valentin , Paul Turner , jacob.jun.pan@linux.intel.com Subject: Re: [PATCH 3/4] sched: introduce synchronized idle injection Message-ID: <20151118061026.03a28616@yairi> In-Reply-To: <20151118083622.GA25217@gmail.com> References: <1447444387-23525-1-git-send-email-jacob.jun.pan@linux.intel.com> <1447444387-23525-4-git-send-email-jacob.jun.pan@linux.intel.com> <20151118083622.GA25217@gmail.com> Organization: OTC X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 27 On Wed, 18 Nov 2015 09:36:22 +0100 Ingo Molnar wrote: > > > > This patch introduces a scheduler based idle injection method, it > > works by blocking CFS runqueue synchronously and periodically. The > > actions on all online CPUs are orchestrated by per CPU hrtimers. > > > > Two sysctl knobs are given to the userspace for selecting the > > percentage of idle time as well as the forced idle duration for each > > idle period injected. > > What's the purpose of these knobs? Just testing, or will some > user-space daemon set them dynamically? > yes, it is to be used by userspace daemon such as thermal daemon. Though there are interests from in kernel thermal governor but that is another story. > I also think that naming it 'idle injection' is pretty euphemistic: > this is forced idling, right? So why not name it CFS_FORCED_IDLE? yes, it is forced idle. sounds good. -- 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/