Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8234203rwp; Wed, 19 Jul 2023 07:08:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFrki8Wp0s+pR+4E6aM+kRXdD5/voEIYFLmj1SsI+0CQKwY+3P8cWiVtTQ+7qNilL3tdoMU X-Received: by 2002:a17:902:ecd0:b0:1b8:1be2:3938 with SMTP id a16-20020a170902ecd000b001b81be23938mr3214643plh.5.1689775731099; Wed, 19 Jul 2023 07:08:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689775731; cv=none; d=google.com; s=arc-20160816; b=pHn2v58ILt1rstYiaZmGYeuqz9SRpm0LJ6rCseFyTLIxpx8xmPwhKls6g32lh5AG0H 5/CxjGN4v6p9Laf9N7+O8vvAmGvv6K5NEV3qeq8NGTHjxYF+Xb4H6gNM9dUB6Gpp1UTZ Dys6cGISNfe774MTKl+2SEm/oVuDtEumeUcgYk0xA8/HRlz9rv/db5VnhGLBMC6a4Bwk jdGlDMUt+Pj25QQYc5yL9+JDdiR/Yi80QyuclSFYg7BdwSRdxmw2fahpW7X+xzbl9jRv frRWEZwU3dM+hQ+Nh5FHT3OepjQ4CdLiKFlMAq++OUUGNG9Y5ebmolmfVowxBVQLY7pD 0Vkw== 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=eW2Ha/VYlD9rxP4tIT9VjvzrIHVuWuOVzl2uKV/hNiA=; fh=6RYZwOxyRINKZtGAKMuIS3p0dCKV6PWxX7Xvwid/omU=; b=VT4cuUeIAui6k0hQc/BdVH54/xYfBNqC9ziLCAqyGusH+qxElYtoD6OYiPJ3bb4ao+ QlCIeKOK0H/FeUWvViccbVKuoW2HAaipav0cJvA2NtSw4p94QudSw4m1XQlN5xUu66ds mnlYZKrwRXfAZtOUwgpZXAVbI6kYaMXe6vUGZNh52HOUC+xFbr1N71FgkYYzCL7d+2ve vU0rpdAZiXMCT58eOxuhpbL1bdCd3ra5AnA/sXdBrb17a+f3NNkLb+9g0u8N4AfVgdzA IfIrHzVrJuFZlnScllIuxnIcW8fY3WIyaYMDkkv/8+4iDGWWIXZ5jfneTED58tJXZ5wT cFoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TPjsDcg6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij10-20020a170902ab4a00b001b81c36f2fesi3299859plb.640.2023.07.19.07.08.29; Wed, 19 Jul 2023 07:08:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TPjsDcg6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230503AbjGSNxk (ORCPT + 99 others); Wed, 19 Jul 2023 09:53:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbjGSNxj (ORCPT ); Wed, 19 Jul 2023 09:53:39 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9567612C for ; Wed, 19 Jul 2023 06:53:37 -0700 (PDT) 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=eW2Ha/VYlD9rxP4tIT9VjvzrIHVuWuOVzl2uKV/hNiA=; b=TPjsDcg69mvC5lO/RRHm6i0wLp Fh86JK0t67ocP9Gu71W+bateo5FW7MAY7vZs4e7Lb7FhQzBQ2a7pATI/io2Gz/tPKrhdc4Sv0DyZ8 SdWUhyRFYXY5Gh7nm5MiekltlWzYar0Y5/HPTley1K6iptzgccuftx855sgDAFLe8dT+S3+Y/M60g O0Jo5Ry4ZCY1s1f72WOFfsDDSzdhVLZHgDwCoD+g1+AeZtbfCS/bwyfWPbuMNI9Uu9HeD6Xlx5ElL e3h5uOvL5TtMvW+C53//ZSwIaWLkrlOWVC3gDxArgqIN/bKGWnpKmyTkFxpfP4wT1TY9X7SKmQmZX bVzOkH5g==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qM7c3-0067CN-Mw; Wed, 19 Jul 2023 13:53:07 +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 (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 8553B30020C; Wed, 19 Jul 2023 15:53:05 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4AFEB2B327216; Wed, 19 Jul 2023 15:53:05 +0200 (CEST) Date: Wed, 19 Jul 2023 15:53:05 +0200 From: Peter Zijlstra To: Aaron Lu Cc: Ingo Molnar , Juri Lelli , Vincent Guittot , Daniel Jordan , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Tim Chen , Nitin Tekchandani , Yu Chen , Waiman Long , linux-kernel@vger.kernel.org, yury.norov@gmail.com, andriy.shevchenko@linux.intel.com, linux@rasmusvillemoes.dk, rppt@kernel.org Subject: Re: [RFC PATCH 2/4] sched/fair: Make tg->load_avg per node Message-ID: <20230719135305.GC3529734@hirez.programming.kicks-ass.net> References: <20230718134120.81199-1-aaron.lu@intel.com> <20230718134120.81199-3-aaron.lu@intel.com> <20230719115358.GB3529734@hirez.programming.kicks-ass.net> <20230719134500.GB91858@ziqianlu-dell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230719134500.GB91858@ziqianlu-dell> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 19, 2023 at 09:45:00PM +0800, Aaron Lu wrote: > I'll rebase this per-node patch on top of below diff. Oh, please double check I didn't wreck anything. I skipped 'converting' the find_*_bit() functions because the users of those iterators might be expecting NR_MAXNODES when not found. But perhaps there's more I overlooked.