From patchwork Tue Feb 7 04:58:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Neri X-Patchwork-Id: 53665 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2651327wrn; Mon, 6 Feb 2023 20:59:02 -0800 (PST) X-Google-Smtp-Source: AK7set/ijvYcmNlISmkM6EsQe/kJ01GGOTwgFHZMrTmC8QmDXOJO9LoyCENFP9IlGpBro9aVBkbu X-Received: by 2002:a17:902:ce92:b0:198:e966:66e with SMTP id f18-20020a170902ce9200b00198e966066emr1918696plg.4.1675745941796; Mon, 06 Feb 2023 20:59:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675745941; cv=none; d=google.com; s=arc-20160816; b=XrtREUdUdIB0oudfyO19CZpaqvTFUhkg0w/E6CRG9HjHgV07AHmh4+SFmo0oJH2Wrw SRddk1CjybzI/aMjPZgqJn6tZV76gO8Nn7K2jrAxHCuIDVI1Yhh6eI4LeDroWrN/XwKk 6kVMm0XTsAqlc7rY+aHf4KJ6uVrPxybBcWgT3zXZdSM4Agk6SA3xX0ZVL0SIC3tP9Dyp V60z6gpBpDFPn+99CtV0RJinn7Z7K0AZQvmwcBDe4UOdh5pFZI0FzBt3V1CKHh0RP7oI Z/xeDx8qGc7kSUrFD+YNxIxoePzOlhXkBYSqr/b10ruxbQp+gYzGye3CeRr8dvdsl9Iq NVVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=h+PrE5Dh2eo+6hY4VGWk5md7uGRyA/r/oQ3MwpDu1Qc=; b=iwotZcAp8vOA8PD8upigHkPgY02g95Z34zDS3htjzfudgHpRiq0sAI5d68a08K3REM y8y4LxPuCO46Vol1xj87mIU+RONteKgpjoe2RZvkXjv62T6tAveLXlHb9jPlootHFWnA p0nF2dmHbWxLbzhn3HJ75xIy5e4a4ToxYcF0nAeJtI4xa0jIsAdyEQFM7IrKBzGwoAsk ukvklaqhVqBg6k1q6WZxbHuXJXPPqAEVRozOslrAj5Z9gUsCJLGjV6ENxOXjyaczRwui POslZZKP+KFkKjfeTxQiWBIVXOWYGFddUuu/qPqHpqb4BXXBnenBlXhAJQIzj+ZQpG33 IUVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JocOryHR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a1709027e8f00b001991b226a3bsi4182068pla.422.2023.02.06.20.58.49; Mon, 06 Feb 2023 20:59:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JocOryHR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229525AbjBGEv1 (ORCPT + 99 others); Mon, 6 Feb 2023 23:51:27 -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> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757146976555912244?= X-GMAIL-MSGID: =?utf-8?q?1757146976555912244?= 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