From patchwork Fri Oct 18 11:52:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 21124 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A823E246F1 for ; Fri, 18 Oct 2013 11:54:00 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id qd12sf9837081ieb.2 for ; Fri, 18 Oct 2013 04:54:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=QODAiJXzCqHCMWmOyEXTCFvzBtxMcmdFGnGoGVEdUxs=; b=Dt/ZUEUuLLDW3Akz9X689e70T8149FrlEdgBA+km3cDIsSnBG1l8vu5Ubm2+ZaX+/P OXBv/jzotHGsfaoCMleeBsL/gEb+cTIjCfzYoW2uBUX97K7h8duFzBsz5WfZevKbE1Sv dCulPMa6nKqOlZ7W3DuzTf50ok90Taiewix2PqUAMdvd/U7C3+k0YnTt3MegMirtiGc8 CXi31C531nFvYB6WiDvkPq6aZV9lvT1XpZpx01ZuO+WSwj2jh+uS9Sqkdb7eJ+PIr2GH muqbmGcCpsWmXM9DVHzmP2Hj6n+RPzT76P/MuW1rpDKxNZihMobYUis9s0/asnK3PlPC +UkQ== X-Received: by 10.42.126.72 with SMTP id d8mr868438ics.4.1382097240221; Fri, 18 Oct 2013 04:54:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.133.100 with SMTP id pb4ls1251274qeb.44.gmail; Fri, 18 Oct 2013 04:54:00 -0700 (PDT) X-Received: by 10.58.217.130 with SMTP id oy2mr48379vec.24.1382097240089; Fri, 18 Oct 2013 04:54:00 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id hc10si226287vdb.119.2013.10.18.04.54.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 04:54:00 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id pa12so1895978veb.6 for ; Fri, 18 Oct 2013 04:54:00 -0700 (PDT) X-Gm-Message-State: ALoCoQmLeG9esBY4waWGTVscYal236ago3nCzr07I47gIYIvugaUpwpB+PEJHgRrRTtznf1gqow7 X-Received: by 10.220.16.73 with SMTP id n9mr44815vca.24.1382097240015; Fri, 18 Oct 2013 04:54:00 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp29492vcz; Fri, 18 Oct 2013 04:53:59 -0700 (PDT) X-Received: by 10.194.235.138 with SMTP id um10mr2289917wjc.30.1382097239053; Fri, 18 Oct 2013 04:53:59 -0700 (PDT) Received: from mail-we0-f173.google.com (mail-we0-f173.google.com [74.125.82.173]) by mx.google.com with ESMTPS id hg7si428160wjb.36.2013.10.18.04.53.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 04:53:59 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.173 is neither permitted nor denied by best guess record for domain of vincent.guittot@linaro.org) client-ip=74.125.82.173; Received: by mail-we0-f173.google.com with SMTP id u57so3628746wes.18 for ; Fri, 18 Oct 2013 04:53:58 -0700 (PDT) X-Received: by 10.180.149.179 with SMTP id ub19mr2060704wib.43.1382097238564; Fri, 18 Oct 2013 04:53:58 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPSA id lr3sm25000673wic.5.2013.10.18.04.53.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 04:53:58 -0700 (PDT) From: Vincent Guittot To: linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@kernel.org, pjt@google.com, Morten.Rasmussen@arm.com, cmetcalf@tilera.com, tony.luck@intel.com, alex.shi@intel.com, preeti@linux.vnet.ibm.com, linaro-kernel@lists.linaro.org Cc: rjw@sisk.pl, paulmck@linux.vnet.ibm.com, corbet@lwn.net, tglx@linutronix.de, len.brown@intel.com, arjan@linux.intel.com, amit.kucheria@linaro.org, l.majewski@samsung.com, Vincent Guittot Subject: [RFC][PATCH v5 11/14] sched: add a SCHED_PACKING_TASKS config Date: Fri, 18 Oct 2013 13:52:24 +0200 Message-Id: <1382097147-30088-11-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1382097147-30088-1-git-send-email-vincent.guittot@linaro.org> References: <1382097147-30088-1-git-send-email-vincent.guittot@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vincent.guittot@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The SCHED_PACKING_TASKS config is used to enable the packing tasks mecanism Signed-off-by: Vincent Guittot --- init/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index 3ecd8a1..4d2b5db 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1178,6 +1178,17 @@ config SCHED_AUTOGROUP desktop applications. Task group autogeneration is currently based upon task session. +config SCHED_PACKING_TASKS + bool "Automatic tasks packing" + depends on SMP && SCHED_MC + default n + help + This option enable the packing mode of the scheduler. + This mode ensures that the minimal number of CPUs will + be used to handle the activty of the system. The CPUs + are selected to minimized the number of power domain + that must be kept on + config MM_OWNER bool