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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C49E0C433EF for ; Tue, 29 Mar 2022 09:24:50 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KSPKY1t6hz2xvv for ; Tue, 29 Mar 2022 20:24:49 +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=B1myBB6p; 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=B1myBB6p; 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 4KSPJq5mTjz2x9b for ; Tue, 29 Mar 2022 20:24:09 +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=GNMAqIh0j6P//qlq8Z1xIR7mjldURS8/Ro5eIkOUj+w=; b=B1myBB6pcjFAoPaZpBLrlBlJeD lsya7OrVyrHw3xcSbhztqK72QHvaKM7rlZiEwgxOP2yYEYqjbBeoEDmeVDa4MqcnzDMzmeGMW3H8q WtVql6DJiGqyDmAVKo7v46USmmMOREJ8zcQ5d2QzhOUaiFLbjciuI46l69y6CmIfyhB5A9fijRTEt jn/8DfIFZpZbfgX/7tE93ChQoMbYbftFhHJgPX7W41AB0ge/6sAAVoKDbQHbxuSj8Otk7dRXCqZVS pBJVklp/JiQAbIC48SRmBkrcEnzZl9fvhWoyE23U8AReqJwCGR+kLmJ9daNkl+SavvD5dOm8QRTMs JjVv4/rw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZ84a-005o2F-Tu; Tue, 29 Mar 2022 09:23:33 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 8B1DD9861E9; Tue, 29 Mar 2022 11:23:30 +0200 (CEST) Date: Tue, 29 Mar 2022 11:23:30 +0200 From: Peter Zijlstra To: Qing Wang Subject: Re: [PATCH 1/3] sched: topology: add input parameter for sched_domain_flags_f() Message-ID: <20220329092330.GG8939@worktop.programming.kicks-ass.net> References: <1648545322-14531-1-git-send-email-wangqing@vivo.com> <1648545322-14531-2-git-send-email-wangqing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1648545322-14531-2-git-send-email-wangqing@vivo.com> 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 , "Rafael J. Wysocki" , Catalin Marinas , Ben Segall , Paul Mackerras , "H. Peter Anvin" , Will Deacon , Vincent Guittot , x86@kernel.org, Ingo Molnar , Mel Gorman , linuxppc-dev@lists.ozlabs.org, Steven Rostedt , Borislav Petkov , Thomas Gleixner , Dietmar Eggemann , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Sudeep Holla , Daniel Bristot de Oliveira Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Mar 29, 2022 at 02:15:19AM -0700, Qing Wang wrote: > From: Wang Qing > > sched_domain_flags_f() are statically set now, but actually, we can get a lot > of necessary information based on the cpu_map. e.g. we can know whether its > cache is shared. > > Allows custom extension without affecting current. Still NAK