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 3EDC4C636CC for ; Tue, 7 Feb 2023 04:51:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbjBGEv2 (ORCPT ); Mon, 6 Feb 2023 23:51:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbjBGEuv (ORCPT ); Mon, 6 Feb 2023 23:50:51 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D52B8D3 for ; Mon, 6 Feb 2023 20:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675745449; x=1707281449; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=7VjPXZk06n0CTxUjfuNsgpOoSCtgvNDjYZVfPD67F1s=; b=JocOryHRJNA9O8K9MfgNXuKDETp3g/aV2onT4uf/G9thXm4JLKfGVmbP xgVq75Fj8FWjBZclwxPJIs0sAEzxhK3C2egbLdRKFyn49rnaFfyhab/6k fpWsLPMAdWBDFiHjS0rfwQSTq2qx8FS9pfy9tTx7f07McvxQZB0MvFtlB LfUWEYNv/rRNsN8RlHPrdecL6dexkP248SsMguHgW+7+so3FRnIdn3Uh0 Z7l6/A0yVXnPQdMsj11Ws6dYfWYpr5VcmF4mV6ue/XsNv6sN3BZ9xAXI1 xI76NGP8utdazmB1OlZ9yG0sw9D58PVZXs+dLf2+/SPYL064POF1DEHXk w==; X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="415624052" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="415624052" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2023 20:50:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="668653805" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="668653805" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by fmsmga007.fm.intel.com with ESMTP; 06 Feb 2023 20:50:48 -0800 From: Ricardo Neri To: "Peter Zijlstra (Intel)" , Juri Lelli , Vincent Guittot Cc: Ricardo Neri , "Ravi V. Shankar" , Ben Segall , Daniel Bristot de Oliveira , Dietmar Eggemann , Len Brown , Mel Gorman , "Rafael J. Wysocki" , Srinivas Pandruvada , Steven Rostedt , Tim Chen , Valentin Schneider , Ionela Voinescu , x86@kernel.org, linux-kernel@vger.kernel.org, Ricardo Neri , "Tim C . Chen" Subject: [PATCH v3 09/10] x86/sched: Remove SD_ASYM_PACKING from the SMT domain flags Date: Mon, 6 Feb 2023 20:58:37 -0800 Message-Id: <20230207045838.11243-10-ricardo.neri-calderon@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230207045838.11243-1-ricardo.neri-calderon@linux.intel.com> References: <20230207045838.11243-1-ricardo.neri-calderon@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no difference between any of the SMT siblings of a physical core. Do not do asym_packing load balancing at this level. Cc: Ben Segall Cc: Daniel Bristot de Oliveira Cc: Dietmar Eggemann Cc: Len Brown Cc: Mel Gorman Cc: Rafael J. Wysocki Cc: Srinivas Pandruvada Cc: Steven Rostedt Cc: Tim C. Chen Cc: Valentin Schneider Cc: x86@kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Neri --- Changes since v2: * None. Changes since v1: * Introduced this patch. --- arch/x86/kernel/smpboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 55cad72715d9..0213d066a9a9 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -547,7 +547,7 @@ static int x86_core_flags(void) #ifdef CONFIG_SCHED_SMT static int x86_smt_flags(void) { - return cpu_smt_flags() | x86_sched_itmt_flags(); + return cpu_smt_flags(); } #endif #ifdef CONFIG_SCHED_CLUSTER -- 2.25.1