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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C4DDC433EF for ; Tue, 5 Oct 2021 11:02:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4ABEF60FC1 for ; Tue, 5 Oct 2021 11:02:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4ABEF60FC1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r1y9qzhnzd5HSeYIg8yVUxt/YdaHl3oGF7Qe9g7pr28=; b=UDERIU7+P0MtJl U05O4P2fJNFTtIu/VaDYx/YHTWcXV7bKC9UC9JchrKqRXyHRthU4m+7r7ErIJ/G7rPQ7lMS0ZZZQl GdV+7WA9FVM6M4grukYwlFNTWwKrya5c0ARdHOfgECDB6G1s4LPmcwauUA/TfkfG47MX3I6/jI5Wh xRGHd0j74sF4mOZbnU7894qGFE9+miKwLqDfsoQ0yBQ5cHp7HKGyffdqRb5iBQ1Mc+QrLJ3nIA3bq v0SvjXQSEE2umvuL3BTP7pWBpH92WqmVuBZVCc4XxH4jbcPwJHzXREYtXLn8Xpoo+xzrakOOwdgr+ iB7KnuzrUVhT/XEi0/uA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXiAU-00A40E-U7; Tue, 05 Oct 2021 10:59:31 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXiAS-00A3ue-8B for linux-arm-kernel@bombadil.infradead.org; Tue, 05 Oct 2021 10:59:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=5RXETHUeK0IoWDd8SaOUu8GrGBoYdj45miweofV1tqI=; b=KupXzRHIt3+Y/Pzu29D8sWyaiV Xww0f73lBH9/jQ1W6k5CN0T8+6XGrOEE0VowKEnf82Ymy1v+pzvl69mhpp95GqSwAgZRkqAIWwTOU eVaXoG9lTXX+Dd6eG+JH6CKCmxwfpcVVVxdyMjZf4tCqSKvkExxEGACjV2k2y6aLv9zqz9VIvb2P6 faUolqJPjdESdCk4G5yDrJBb/08d6RMMGlr6xHY1bDVGzovCBnYhU//mmwo3eymZBO6nsABlzQ5AM QPo4IbwrzlGzTKyuzLWYLcAcfy6eX28dn08pSpPEeNkXGOMasPdqdIEoTv+jhpojLHDcig1tWM89V aF03Nfxw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXi9O-000FQG-II; Tue, 05 Oct 2021 10:59:00 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 2305B30019C; Tue, 5 Oct 2021 12:58:21 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0F544201A0530; Tue, 5 Oct 2021 12:58:21 +0200 (CEST) Date: Tue, 5 Oct 2021 12:58:21 +0200 From: Peter Zijlstra To: Barry Song <21cnbao@gmail.com> Cc: Tim Chen , Vincent Guittot , Dietmar Eggemann , LKML , Ingo Molnar , Aubrey Li , Borislav Petkov , Daniel Bristot de Oliveira , Ben Segall , Catalin Marinas , Greg Kroah-Hartman , Guodong Xu , "H. Peter Anvin" , Jonathan Cameron , Juri Lelli , "Cc: Len Brown" , ACPI Devel Maling List , LAK , Linuxarm , Mark Rutland , Mel Gorman , msys.mizuma@gmail.com, "Zengtao (B)" , "Rafael J. Wysocki" , Steven Rostedt , Barry Song , Sudeep Holla , Thomas Gleixner , "Rafael J. Wysocki" , Valentin Schneider , Will Deacon , x86 , yangyicong Subject: Re: [PATCH RESEND 0/3] Represent cluster topology and enable load balance between clusters Message-ID: References: <20210924085104.44806-1-21cnbao@gmail.com> <20211005075001.GJ4323@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Oct 05, 2021 at 10:15:39PM +1300, Barry Song wrote: > > (also, all this stuff being replicated across arch/*/Kconfig seems > > unfortunate) > > perhaps worth a separate patchset to do some cleanup so that SCHED_MC, > SCHED_SMT etc > won't be replicated in different architectures. Right now, this kind > of Kconfig option is copied > everywhere. I am seeing SCHED_SMT in all of > arch/arm/Kconfig > arch/arm64/Kconfig > arch/ia64/Kconfig > arch/mips/Kconfig > arch/powerpc/Kconfig > arch/s390/Kconfig > arch/sparc/Kconfig > arch/x86/Kconfig > ... > > Is it a better way to move them to a common Kconfig and let the architectures to > declare things like ARCH_HAVE_SMT? Dunno, it's all a bit of a mess :/ I can't quickly see a sane pattern there. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel