From mboxrd@z Thu Jan 1 00:00:00 1970 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 7BD8DC433EF for ; Fri, 15 Oct 2021 23:09:10 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 BCF5261108 for ; Fri, 15 Oct 2021 23:09:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BCF5261108 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HWMQr2Y7kz3cMQ for ; Sat, 16 Oct 2021 10:09:08 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=jJhIdB7z; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=peterz@infradead.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=jJhIdB7z; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HW63H3GTPz3bXj for ; Sat, 16 Oct 2021 00:06:16 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=GcG/LD4wXLRkh+mkTSYxktAgp6NtEFjg5wt7NUrIBQ8=; b=jJhIdB7zViqIgQ4dXzq0Vzc/Kn wSy4O2m2pxg0twYqSCoPMRWR2meOaQTSQpX2tmCESSkMSUyy5L7Y6zQkWtiL93luUWOjqSDBc3XAX GRFk8m9CdSP6b/Fkglz5EVDu9pVQI5GiX3rcXUoQkE/o8uLwEEFLfE/ywHgMTYWbsEiU+yKfedbxo 3hLv0+KmOYSyFL3WIbdlyTtbt40xIGV0rd1nKhv9d439VmvJMiW6KnEioX0E3Ni3P4AAJb49FSutW wOsJAx7OOs+7uurX30IwJVKmriq7J7PAOZXqvbgm0leeiMQdlsqcIO9KF+adrleTjo6ACcq1dW4ml EosUor6Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbMtL-00A0Ic-NJ; Fri, 15 Oct 2021 13:04:55 +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)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id E56AA30031A; Fri, 15 Oct 2021 15:04:50 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id C9DB5212B43C0; Fri, 15 Oct 2021 15:04:50 +0200 (CEST) Date: Fri, 15 Oct 2021 15:04:50 +0200 From: Peter Zijlstra To: Valentin Schneider Subject: Re: [PATCH 2/2] sched: Centralize SCHED_{SMT, MC, CLUSTER} definitions Message-ID: References: <20211008115347.425234-1-valentin.schneider@arm.com> <20211008115347.425234-3-valentin.schneider@arm.com> <87bl3zlex8.mognet@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bl3zlex8.mognet@arm.com> X-Mailman-Approved-At: Sat, 16 Oct 2021 10:07:44 +1100 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Juri Lelli , Mark Rutland , Kefeng Wang , Rich Felker , linux-ia64@vger.kernel.org, Geert Uytterhoeven , linux-sh@vger.kernel.org, Catalin Marinas , Linus Walleij , David Hildenbrand , x86 , linux-mips@vger.kernel.org, "James E.J. Bottomley" , Hugh Dickins , Paul Mackerras , "H. Peter Anvin" , sparclinux@vger.kernel.org, Will Deacon , Ard Biesheuvel , linux-s390@vger.kernel.org, Vincent Guittot , Arnd Bergmann , Yoshinori Sato , YiFei Zhu , Helge Deller , Aubrey Li , Barry Song <21cnbao@gmail.com>, Russell King , Christian Borntraeger , Ingo Molnar , Mel Gorman , Masahiro Yamada , Frederic Weisbecker , Kees Cook , Vasily Gorbik , Anshuman Khandual , Vlastimil Babka , Vipin Sharma , Heiko Carstens , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Steven Rostedt , Nathan Chancellor , Borislav Petkov , Sergei Trofimovich , Jonathan Cameron , Thomas Gleixner , Michal Hocko , Dietmar Eggemann , LAK , Barry Song , Ben Segall , Thomas Bogendoerfer , Daniel Borkmann , linux-parisc@vger.kernel.org, Chris Down , linuxppc-dev@lists.ozlabs.org, Randy Dunlap , Nick Desaulniers , LKML , Rasmus Villemoes , Daniel Bristot de Oliveira , Andrew Morton , Tim Chen , "David S. Miller" , Mike Rapoport Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, Oct 08, 2021 at 04:22:27PM +0100, Valentin Schneider wrote: > So x86 has it default yes, and a lot of others (e.g. arm64) have it default > no. > > IMO you don't gain much by disabling them. SCHED_MC and SCHED_CLUSTER only > control the presence of a sched_domain_topology_level - if it's useless it > gets degenerated at domain build time. Some valid reasons for not using > them is if the architecture defines its own topology table (e.g. powerpc > has CACHE and MC levels which are not gated behind any CONFIG). > > SCHED_SMT has an impact on code generated in sched/core.c, but that is also > gated by a static key. > > So I'd say having them default yes is sensible. I'd even say we should > change the "If unsure say N here." to "Y". Right, so I tend to agree (and also that we should fix that Kconfig help text). But it would be very nice to have feedback from the affected arch maintainers.