Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp298285rdb; Mon, 29 Jan 2024 02:36:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxTyJamy24f43zCAqK0JVbtFKc3c0pyH6NjbtLxDpy+g5brUfBCRNmO9+ZNNzKYBRDcIxS X-Received: by 2002:a05:620a:55b2:b0:783:f7c1:5744 with SMTP id vr18-20020a05620a55b200b00783f7c15744mr2646843qkn.152.1706524597631; Mon, 29 Jan 2024 02:36:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706524597; cv=pass; d=google.com; s=arc-20160816; b=R1Pb34RzNZ/75fhb/fpyPVspNoXJBCW5VT/VB6bVIMpIywBkjJzq1d9os12HRUpzKO Qq62Jevsh+G0Aj4sgn1ZxBuD6JNG07/btfsHExVmHiBtIcSmVODDtFH/PXq8OKPdib1b K44xZ6ypcdpeBgm5Gk9UZey0oG2AGYG6z0ErPgJTH9Q4wSueAiEYBAeRV4bAehIFaTh0 H9ZoIXgMeeJWRytwYGwZvBsmhGctrzzfJILfTlO2UP2oT3lnD0R2A1uiIE8ygSL0qgV/ w3JDIoMkiNJ7OUZ39rITcOIF3zCYCUZCVDUg35qr9h8sSrydWgHyQBb29YuKjYi8rbgh 2UKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=ywKIBihsAdanJnfOym0PvpXd3RsgjVaaXr4KViAvlyI=; fh=z2IAqxRj0hZtNeuqkiqIZR9bMv2myiE3gGyMPNdvp8g=; b=Wis/oRyqMSKZWbyCwarpK5i4n9yORpeyfhaGpPB2UgwWzOhAX9kd7nOPX/ZGMe3hx8 dgeo5r8V8mfu0NkvjsbuZdMa9xkfE3jSb+v7QOreHZ6O8l9gIFMPTyzeP/mxx/gz2TWt bSm7QqRoNxyXVCjEnG1pnwk5AiftypxGzA1q2XCwRAeHgYoiLTEeDutQC9h8qcc3qtF1 x6w8bwWN54jqSJ3z09MMY0EFd4LxRdksLqlC4UGE5ZVegrYiPRGr2aEXZMsTCiHXyhld 8ZgbjiaHtjTpITnJLhAosPsjq2O5V7rxxp80KnDZ1g5JwdVGY//MkZu162IA1Rr8E70E Nokw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=xfusion.com); spf=pass (google.com: domain of linux-kernel+bounces-42545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42545-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e25-20020a05620a209900b00783e13a074csi5451039qka.0.2024.01.29.02.36.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 02:36:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=xfusion.com); spf=pass (google.com: domain of linux-kernel+bounces-42545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42545-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6255F1C22084 for ; Mon, 29 Jan 2024 10:36:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 039CE54FBB; Mon, 29 Jan 2024 10:36:32 +0000 (UTC) Received: from wxsgout04.xfusion.com (wxsgout03.xfusion.com [36.139.52.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A81AD537E2 for ; Mon, 29 Jan 2024 10:36:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=36.139.52.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706524591; cv=none; b=bF+L5vAI33OBYTpCba34T8GOPNbYnQ215ro2ij2Z8vATQY14LpJIJRiiYq1wwkFSEfArTbYAwS0HZEqBcECCGXE7cyIF9+6PRLqSnm8ox6hXIzsMYVxAqSooEFcHx3pypiorQn78YdNmLYFmaPbI1cD5nmsSZIep3asL1rvUZKI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706524591; c=relaxed/simple; bh=hAEN2veGrz/tm7lKx1WTCTriEvODMHZi3DDszdBe3+c=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l4p+XsBeRPdAaSpI3fzeMPtcQ0cFy1q+s0v0t/5KYmZoqn0D4YK0E+dFnnsdRB97wysQEHu5TWR6tbNI1I1jGtGmOe/JZERXV2ufazODRz8Un+dZBOsnJ48+XS55jzEFK1OL0rmCzDEK6u6rknZXcpHwc8nMM5WfLDfoRgQeyRE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=xfusion.com; spf=pass smtp.mailfrom=xfusion.com; arc=none smtp.client-ip=36.139.52.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=xfusion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xfusion.com Received: from wuxshcsitd00600.xfusion.com (unknown [10.32.133.213]) by wxsgout04.xfusion.com (SkyGuard) with ESMTPS id 4TNl831JqBzB0228; Mon, 29 Jan 2024 18:36:03 +0800 (CST) Received: from localhost (10.82.147.3) by wuxshcsitd00600.xfusion.com (10.32.133.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 29 Jan 2024 18:36:26 +0800 Date: Mon, 29 Jan 2024 18:36:25 +0800 From: Wang Jinchao To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , CC: Subject: [RFC resend] sched: Can we rename 'core scheduling' to 'smt scheduling'? Message-ID: References: <202312191503+0800-wangjinchao@xfusion.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <202312191503+0800-wangjinchao@xfusion.com> X-ClientProxiedBy: wuxshcsitd00600.xfusion.com (10.32.133.213) To wuxshcsitd00600.xfusion.com (10.32.133.213) On Tue, Dec 19, 2023 at 03:07:43PM +0800, Wang Jinchao wrote: > The term 'core' in 'kernel/sched/' implies a relation to the kernel of sched, > and at the same time, 'core' is used in 'core scheduling' to represent a CPU core. > Both meanings coexist in the 'core.c' file and appear numerous times. > > This can be confusing for newcomers. > > -- > Wang Jinchao Maybe we should rename sched/core_sched.c to sched/smt_sched.c, and move relevant code from sched/core.c to smt_sched.c. I believe using "smt" in smt_sched.c would be clearer than "core" in core_sched.c, especially considering its association with core.c.