Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5932623ybv; Tue, 18 Feb 2020 06:43:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxcYC4BJ2aYVXnwz5BJcxxfbrK6xfoE8IvpszwskxuN2SsQePrxhqsLwDhHpZEDNHvF7O2A X-Received: by 2002:a9d:6181:: with SMTP id g1mr16694459otk.104.1582037020012; Tue, 18 Feb 2020 06:43:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582037020; cv=none; d=google.com; s=arc-20160816; b=W4PD/46HMO1F90JvykwNf4b+GRy0dwISonZIJiNIo+FSw+pfmZhlP61i+zz+KSMSUO SsjoqJYxp3QLykEaCfIohHu0VbFQMNuLQSIvAYsmmTJ7HToyD+NL4owcyq2LMRff3DdD Q8Lr+MOxl5/L/gmAjnPochx52eoBswN1IjtvqTa9ajopbJwdz4BDjkGs3ZLHMCqefyhF f4pr0B3RHiwesAzkL8mx3iVRAf5buWJ5PIWaVM9QoIFQZsZyph6A7XbqN8C4NeEsGtTf 2xTRe5Rd8fEp66HWDhvFNo7x14TB4hM5NobjmxSvEk05gDrPDU4g8MDH9O3P6w6jzEk0 L0Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=N9KpoQiF3DucB2msBg8Ecd+5yGheYTeP/myl1tWwsN4=; b=L8MO+NxpCczYMDH4T/JDqStAtLlf2esqbo9BDF+nLUgfxEzzc6oH2Z+E/fwtgNLW5v B/iERWJxClqMxubQ2bu8fpO9piw1vJE2FyRmwTmDFt4+/Aq0WUXEwkhyKp7sZU+fN4qK AWqjmuyj5LmNeCTudp93NekZwgADMzTDwMzPxDYNVX8/0Myg+QBS9XW8+e2Vn99XAUlD 4GOYvn6T3d5QOiOKcyixlSFZ28eywyFzJrmnYssU2CGPRKxSSONZEOD1dKECAp7rgJ9P 78IeUCa1H6JZnbPueGPsYCPuDRFhZe+yh+9uPuj+8he9QHECDtC0aqbSZeosNhQQEaNF m0AA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s129si7480721oig.177.2020.02.18.06.43.27; Tue, 18 Feb 2020 06:43:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726797AbgBROmM (ORCPT + 99 others); Tue, 18 Feb 2020 09:42:12 -0500 Received: from foss.arm.com ([217.140.110.172]:53570 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726116AbgBROmM (ORCPT ); Tue, 18 Feb 2020 09:42:12 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8C9EA1FB; Tue, 18 Feb 2020 06:42:11 -0800 (PST) Received: from [192.168.0.7] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BC79E3F6CF; Tue, 18 Feb 2020 06:42:09 -0800 (PST) Subject: Re: [PATCH v2 2/5] sched/numa: Replace runnable_load_avg by load_avg To: Vincent Guittot , Mel Gorman Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Steven Rostedt , Ben Segall , linux-kernel , Phil Auld , Parth Shah , Valentin Schneider , Hillf Danton References: <20200214152729.6059-1-vincent.guittot@linaro.org> <20200214152729.6059-3-vincent.guittot@linaro.org> <20200218135059.GE3420@suse.de> From: Dietmar Eggemann Message-ID: <1f820379-c58e-05fb-1745-28f2ed62d5ed@arm.com> Date: Tue, 18 Feb 2020 15:42:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/02/2020 15:17, Vincent Guittot wrote: > On Tue, 18 Feb 2020 at 14:51, Mel Gorman wrote: >> >> On Tue, Feb 18, 2020 at 01:37:45PM +0100, Dietmar Eggemann wrote: >>> On 14/02/2020 16:27, Vincent Guittot wrote: [...] >>> -static void update_numa_stats(struct task_numa_env *env, >>> +static void update_numa_stats(unsigned int imbalance_pct, >>> struct numa_stats *ns, int nid) >>> >>> - update_numa_stats(&env, &env.src_stats, env.src_nid); >>> + update_numa_stats(env.imbalance_pct, &env.src_stats, env.src_nid); >>> >> >> You'd also have to pass in env->p and while it could be done, I do not >> think its worthwhile. > > I agree Ah, another patch in Mel's patch-set: https://lore.kernel.org/r/20200217104402.11643-11-mgorman@techsingularity.net I see. [...]