From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96758C433F5 for ; Thu, 6 Oct 2022 08:11:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230113AbiJFILF (ORCPT ); Thu, 6 Oct 2022 04:11:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229666AbiJFILA (ORCPT ); Thu, 6 Oct 2022 04:11:00 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E697E32B93 for ; Thu, 6 Oct 2022 01:10:58 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D9EAB1BB2; Thu, 6 Oct 2022 01:11:04 -0700 (PDT) Received: from pierre123.arm.com (unknown [10.57.35.228]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A4E073F792; Thu, 6 Oct 2022 01:10:55 -0700 (PDT) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: Pierre Gondois , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider Subject: [PATCH v2 0/1] sched/fair: feec() improvement Date: Thu, 6 Oct 2022 10:10:51 +0200 Message-Id: <20221006081052.3862167-1-pierre.gondois@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: - Dropped 'sched/fair: Use IRQ scaling for all sched classes' - Added Reviewed-by from Dietmar. This patch-set aims to improve find_energy_efficient_cpu() by removing max_spare_cap_cpu from the candidate CPUs if prev_cpu is already the CPU with the maximum spared capacity. Pierre Gondois (1): sched/fair: Check if prev_cpu has highest spare cap in feec() kernel/sched/fair.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) -- 2.25.1