Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4404919pxb; Tue, 2 Mar 2021 14:35:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYm7kNjGmuTOK02ax7Z/F4oiXStxGHaYqyG6+Ka7gFej9z/fF8H9OyljsrWGPrX7LnHfOE X-Received: by 2002:a17:906:2743:: with SMTP id a3mr23352343ejd.378.1614724532544; Tue, 02 Mar 2021 14:35:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614724532; cv=none; d=google.com; s=arc-20160816; b=bkA7wQm/p60t32iwWo6Q3iqB/G5/wNHZ1ZMtsEPcARxxvieewRAD9OZgnfURxWtD/N K/jpLaVC5nPkEawhM4WVx3ecZhXPeNQb1NiPvWyqfiff8VSG+RPeIgya9kOy/mKJauYj KOtIPGhhH4hncJvAur4+KKPYeM1VQd1vBRcGIIpsqQBW6MoAkNk5x2IMBzWx5ldw1Yxo q0em+ZANDEAGDsUmTkZD4Pvz+31Xc0Fy+BJg0R7wG9Qz2pOJE3RJif8G+PwLDfwbuKTD 1dqDjxkWebKqr3O4bkTl2mAHI7YQCAN/XVGA9mpYQflnVmKlrBEUTVwxukE9iWM/BNB7 IWcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=F6qthdef1oL7Dk4r+O4vHCgwbdrKqGXK0mSoEWD6Tpc=; b=kCQucmZOBdKlKVzMprQXzN8ZeAuNEzvUNFPYC46MXfiYNuEnDMOpuHk57Ixfl/w49i KvctjC9yIuXPJH4bpcFo6TmG/7ycq27DKL5OuXYgJY8+92cpYMWWw8/LBCLcdfdPdng9 IIUvK3wKSOleVLdWfMqnH2sq3E1tYZ7rJ36DTjtBuWLEeASStNyqpnBY+5GC3ITuFDQI ++UuHenJBfR51TrsRM9dbK5zyOr2KZDWSnJTMx7Uwovsmedq0r8DJMNBeci9w6Oo9xgI GHqt/JBLmYA8JQMGJ0l1OHLPV3RgPo/Mm2Ob5wfKDzoPfhJ73/Az3mBhWx4yLkDFp2do ojww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=W+9iyS0S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e13si15200556edj.425.2021.03.02.14.34.37; Tue, 02 Mar 2021 14:35:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=W+9iyS0S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1838422AbhCBKyj (ORCPT + 99 others); Tue, 2 Mar 2021 05:54:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349609AbhCBKmx (ORCPT ); Tue, 2 Mar 2021 05:42:53 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89AFBC061756; Tue, 2 Mar 2021 02:32:03 -0800 (PST) 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=F6qthdef1oL7Dk4r+O4vHCgwbdrKqGXK0mSoEWD6Tpc=; b=W+9iyS0S3xZXDQMTKv9qOoTbzq DETq9J4HXqzXK/klgSYLlMOK2j/kdfZWBrB0fBGtlt1q0w/obZsTjvoAYpZE8HF31nrd7XN5Gn76t r9xbdsXrADg4IHbklIeF6IcDi21Lj8Y3Fw+mdQ4Vi6fHd3hpybYHZ6QrOXUBRlC+V9226IaJYmO1s ndNDO1/3QW3UMM9Gv1WjOzViE6jNTqtkbzO0QByeIGWVrC22/q7n68glVpLDE7M04N/2KoDEAuf1C DApoVmodqrRISvRz07oIbtIwkYDWnj1ZyMz4QhWp1A6IHJ0Vlr+sTJGdc837OAp0zKLJMHYtMK5kA z0kSNvmQ==; 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 (Red Hat Linux)) id 1lH2If-00Gwg8-TI; Tue, 02 Mar 2021 10:30:48 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 26904306BCA; Tue, 2 Mar 2021 11:30:43 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 173262027C1AA; Tue, 2 Mar 2021 11:30:43 +0100 (CET) Date: Tue, 2 Mar 2021 11:30:43 +0100 From: Peter Zijlstra To: Barry Song Cc: tim.c.chen@linux.intel.com, catalin.marinas@arm.com, will@kernel.org, rjw@rjwysocki.net, vincent.guittot@linaro.org, bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, lenb@kernel.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, msys.mizuma@gmail.com, valentin.schneider@arm.com, gregkh@linuxfoundation.org, jonathan.cameron@huawei.com, juri.lelli@redhat.com, mark.rutland@arm.com, sudeep.holla@arm.com, aubrey.li@linux.intel.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, x86@kernel.org, xuwei5@huawei.com, prime.zeng@hisilicon.com, guodong.xu@linaro.org, yangyicong@huawei.com, liguozhu@hisilicon.com, linuxarm@openeuler.org, hpa@zytor.com Subject: Re: [RFC PATCH v4 3/3] scheduler: Add cluster scheduler level for x86 Message-ID: References: <20210301225940.16728-1-song.bao.hua@hisilicon.com> <20210301225940.16728-4-song.bao.hua@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210301225940.16728-4-song.bao.hua@hisilicon.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 02, 2021 at 11:59:40AM +1300, Barry Song wrote: > From: Tim Chen > > There are x86 CPU architectures (e.g. Jacobsville) where L2 cahce > is shared among a cluster of cores instead of being exclusive > to one single core. Isn't that most atoms one way or another? Tremont seems to have it per 4 cores, but earlier it was per 2 cores.