Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6685720ybl; Mon, 23 Dec 2019 09:57:41 -0800 (PST) X-Google-Smtp-Source: APXvYqx3lPCy38Qdx1wy6jd8d3fynQu8mgXymiG/FViXoCtbuajpvtnT0sE3y8lRmJY5g4ms+cCe X-Received: by 2002:a05:6830:154c:: with SMTP id l12mr33810900otp.275.1577123861572; Mon, 23 Dec 2019 09:57:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577123861; cv=none; d=google.com; s=arc-20160816; b=XwCuhvNHkfSmZqxdjgcOE71JsLbJpXILM28vCeYqHfhQMKRgb3RyNKvYHUT6v2tNK2 v6JcCklcVDGWkpEcEB4vfbfg1DG8y1hXzsWrIVdDxwAn3E3GUlzdhp0bGgDwaaulDSWO asLUm9g0G+Bs4ceLmre4RtuSgI6vfKJ8FU5PnR0tXiOpZERiMgA0QK1Ce0EzZx8xslg9 Ckn8yzxdCoGWE1AtyahyoqdH7tjctgeCHVGPO/U2N+HBzb1MTgFPXCaFCgpQkyd+HGey 1rbF5sq+fGzTCpGNZY9YbmKu6pNjVLl90/rt2/pKiAnJju7YQvQULgFLdorI2hrlwGAk qcvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=K4J/GHt1SMWvYPAzpphg06jqkkF3kG6JO2JT6ibmZdo=; b=Jv+oTk1T9CMNdmhkXhvEixSYA3FJiiwQIxsEWa8q5tF/P3czhSz61uwym+m4vDPzyT DO5l6ADI5qbO22Up4N7uRkR0IEc5/HmH48ihbOOgf+wY9tWnEPO+hgcermmbquJmtF+W bgU57fN5I9XPPnPmMmL/EaPQs6cQaLH/OIMe7/hfeYNx+N12yi2hWYadzpyaEMnEleGo sUXdgKNMqHnQBc+rdGny06eLyX447sCr7l8M4It4MDk9W7WR/pE8CCtZAN7sDTfBSzLV oXWSnRV6qr/2GLw/Iol6EGghjC2mJRkoBlxqG2kgV7Xzxs3/HBSPImej7M4ncfNpupAR 4QUg== 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 f21si10776248otp.56.2019.12.23.09.57.29; Mon, 23 Dec 2019 09:57:41 -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 S1726943AbfLWR4X (ORCPT + 99 others); Mon, 23 Dec 2019 12:56:23 -0500 Received: from foss.arm.com ([217.140.110.172]:47570 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726783AbfLWR4X (ORCPT ); Mon, 23 Dec 2019 12:56:23 -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 A84D0328; Mon, 23 Dec 2019 09:56:22 -0800 (PST) Received: from localhost (e108754-lin.cambridge.arm.com [10.1.198.81]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4B61B3F68F; Mon, 23 Dec 2019 09:56:22 -0800 (PST) Date: Mon, 23 Dec 2019 17:56:20 +0000 From: Ionela Voinescu To: Thara Gopinath Cc: mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, rui.zhang@intel.com, qperret@google.com, daniel.lezcano@linaro.org, viresh.kumar@linaro.org, linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, javi.merino@kernel.org, amit.kucheria@verdurent.com Subject: Re: [Patch v6 1/7] sched/pelt.c: Add support to track thermal pressure Message-ID: <20191223175620.GE31446@arm.com> References: <1576123908-12105-1-git-send-email-thara.gopinath@linaro.org> <1576123908-12105-2-git-send-email-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1576123908-12105-2-git-send-email-thara.gopinath@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 11 Dec 2019 at 23:11:42 (-0500), Thara Gopinath wrote: [...] > diff --git a/kernel/sched/pelt.h b/kernel/sched/pelt.h > index afff644..c74226d 100644 > --- a/kernel/sched/pelt.h > +++ b/kernel/sched/pelt.h > @@ -6,6 +6,7 @@ int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se > int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq); > int update_rt_rq_load_avg(u64 now, struct rq *rq, int running); > int update_dl_rq_load_avg(u64 now, struct rq *rq, int running); > +int update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity); > I know a lot of people have come with suggestions for this name, but how about update_th_rq_load_avg :)? Only if you're in the mood to change it again. Regards, Ionela.