Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756185Ab0A1XUn (ORCPT ); Thu, 28 Jan 2010 18:20:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756117Ab0A1XUm (ORCPT ); Thu, 28 Jan 2010 18:20:42 -0500 Received: from e39.co.us.ibm.com ([32.97.110.160]:46532 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755848Ab0A1XUm (ORCPT ); Thu, 28 Jan 2010 18:20:42 -0500 Subject: [PATCHv3 0/2] sched: arch_scale_smt_powers From: Joel Schopp To: Peter Zijlstra Cc: ego@in.ibm.com, linuxppc-dev@lists.ozlabs.org, Ingo Molnar , linux-kernel@vger.kernel.org, benh@kernel.crashing.org, jschopp@austin.ibm.com In-Reply-To: <1264548479.12239.54.camel@jschopp-laptop> References: <1264017638.5717.121.camel@jschopp-laptop> <1264548479.12239.54.camel@jschopp-laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 28 Jan 2010 17:20:08 -0600 Message-ID: <1264720808.9660.18.camel@jschopp-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1261 Lines: 33 The new Power7 processor has 4 way SMT. This 4 way SMT benefits from dynamic power updates that arch_scale_smt_power was designed to provide. The first patch fixes a generic scheduler bug necessary for arch_scale_smt to properly function. The second patch implements arch_scale_smt_power for powerpc, and in particular for Power7 processors. Version 2 changes: - Drop Patch 1 from the original series since it's in the -tip tree now - Move enabling the cpu feature into it's own patch (now patch 1) - Add stubbing out broken x86 implementation to patch 1 - clean up coding style in patch 2 Version 3 changes: - Added a comment to Patch 2 --- Joel Schopp (2): powerpc: implement arch_scale_smt_power for Power7 sched: enable ARCH_POWER arch/powerpc/include/asm/cputable.h | 3 + arch/powerpc/kernel/smp.c | 56 ++++++++++++++++++++++++++++++++++++ arch/x86/kernel/cpu/sched.c | 6 +-- kernel/sched_features.h | 2 - 4 files changed, 61 insertions(+), 6 deletions(-) -- 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/