Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755536Ab3G2K20 (ORCPT ); Mon, 29 Jul 2013 06:28:26 -0400 Received: from mail-ob0-f182.google.com ([209.85.214.182]:60616 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753595Ab3G2K2Y (ORCPT ); Mon, 29 Jul 2013 06:28:24 -0400 MIME-Version: 1.0 In-Reply-To: <51F640AB.2050709@arm.com> References: <1374921728-9007-1-git-send-email-hanjun.guo@linaro.org> <51F640AB.2050709@arm.com> Date: Mon, 29 Jul 2013 12:28:24 +0200 Message-ID: Subject: Re: [RFC][PATCH 1/2] ARM64: add cpu topology definition From: Vincent Guittot To: Sudeep KarkadaNagesha Cc: Hanjun Guo , "linaro-kernel@lists.linaro.org" , Graeme Gregory , Al Stone , Patch Tracking , Catalin Marinas , linaro-acpi , Will Deacon , linux-kernel , Tomasz Nowicki , Naresh Bhat , Russell King , LAK Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1296 Lines: 31 On 29 July 2013 12:15, Sudeep KarkadaNagesha wrote: > On 29/07/13 10:46, Vincent Guittot wrote: >> On 27 July 2013 12:42, Hanjun Guo wrote: >>> Power aware scheduling needs the cpu topology information to improve the >>> cpu scheduler decision making. >> >> It's not only power aware scheduling. The scheduler already uses >> topology and cache sharing when CONFIG_SCHED_MC and/or >> CONFIG_SCHED_SMT are enable. So you should also add these configs for >> arm64 so the scheduler can use it >> > Just for my knowledge, I thought power aware using SCHED_MC/SMT was > removed. I see commit 8e7fbcbc22c12414bcc9dfdd683637f58fb32759 "sched: > Remove stale power aware scheduling remnants and dysfunctional knobs" > I may be missing something here. It's a common mistake to mixed SCHED_MC and powersaving balance with SCHED_MC. Only the powersaving policy has been removed but the SCHED_MC and SCHED_SMT are always in the scheduler and gives perf improvement on arm 32bits > > Regards, > Sudeep > -- 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/