Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757944Ab1FPNsw (ORCPT ); Thu, 16 Jun 2011 09:48:52 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:52379 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755898Ab1FPNsu convert rfc822-to-8bit (ORCPT ); Thu, 16 Jun 2011 09:48:50 -0400 MIME-Version: 1.0 In-Reply-To: <20110616132441.GJ14846@anthem.async.com.br> References: <20110616132441.GJ14846@anthem.async.com.br> Date: Thu, 16 Jun 2011 15:48:48 +0200 Message-ID: Subject: Re: [RFC] Add Arm cpu topology definition From: Vincent Guittot To: Christian Robottom Reis Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1682 Lines: 42 On 16 June 2011 15:24, Christian Robottom Reis wrote: > On Thu, Jun 16, 2011 at 10:49:13AM +0200, Vincent Guittot wrote: >> @@ -219,6 +219,24 @@ source "kernel/Kconfig.freezer" >> >> ?menu "System Type" >> >> +config SCHED_MC >> + ? ? bool "Multi-core scheduler support" >> + ? ? depends on SMP && ARM_CPU_TOPOLOGY >> + ? ? default n >> + ? ? help >> + ? ? ? Multi-core scheduler support improves the CPU scheduler's decision >> + ? ? ? making when dealing with multi-core CPU chips at a cost of slightly >> + ? ? ? increased overhead in some places. If unsure say N here. >> + >> +config SCHED_SMT >> + ? ? bool "SMT scheduler support" >> + ? ? depends on SMP && ARM_CPU_TOPOLOGY >> + ? ? default n >> + ? ? help >> + ? ? ? Improves the CPU scheduler's decision making when dealing with >> + ? ? ? MultiThreading at a cost of slightly increased overhead in some >> + ? ? ? places. If unsure say N here. >> + > > Quick question: the patch doesn't actually seem to use the SCHED_MC and > SCHED_SMT config bits; is that actually correct? The default config of the patch is to disable sched_mc and sched_smt. The 1st goal is to let each platform enable and test the feature. According to feedback, we could then change the default state of the configuration > -- > Christian Robottom Reis ? | [+55] 16 9112 6430 | http://launchpad.net/~kiko > Linaro Engineering VP ? ? | [ +1] 612 216 4935 | http://async.com.br/~kiko > -- 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/