Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp575030ybv; Fri, 7 Feb 2020 04:49:39 -0800 (PST) X-Google-Smtp-Source: APXvYqyu8IFRxhNGlL3JcsX/2oDS290ux+MGzbpedIlSCYSiQ2G7iFAELUwQia/JsIDxNsjxS5AP X-Received: by 2002:a9d:23b5:: with SMTP id t50mr2486032otb.122.1581079779598; Fri, 07 Feb 2020 04:49:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581079779; cv=none; d=google.com; s=arc-20160816; b=i4T0PuiymehzOKVe8DD3/ijd2XvWO/gGvjbguCUBJ3NoPCNrGVD1uPxqmePYls3JCC /rowzOwKeKohGHjqSBbTDhVXnhXKON66BiQPafVINP2HB7ezSQxIeMfmSgkT9VqgktIh xQF42o3PzW+8oRqf9LC/0KAnw+1GyvFuiBmE9/5njnmbfblJqpzU9RG2UyVxIuFHdc7P qQptj3KkhG/gWaQ09YUBhg3yRBlt65pTa/ayoOkhV9kfTzKSvWCYajBlzbWzDJw/Nfec MVgQBRFGcUv9AwZJyrLaAl+g/Y8ZlZabF3b0VwOOX71f8Lbr+lMV0Ah0GRfbc6RocJK1 aQ7Q== 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=4LiGst92Dw3Mxdo7UsGMTm/fEFNYbuNY/oue4qRdLws=; b=JkrTV/3XK9WrLu8qJewNU+9xmza05kAnX9D8hPKK1/SRZuJxYHkN+EBHx6IrsSszdr GaaZvPiFpRiVInY69Acp49qlKkCNg+nZC6qUftI7Nwhj86fytIKdquwYmwrv9iYqBAXb QFoZv7eaVAXsf060rxw3g3iPeoIRlZg+YvYcr1Lhb1eoIatMXJ67i15wlqBhSjwNFeMn 0mBPe2xI2EqJL3QLWRzVZ/6GiiwNSFsJmlgpbkBUUzVUQp4hQYj2E7f/wDOJQ0P49ulq vg9v1Wqz5Uri2f9eAZhBJxbH+71VM/zjR9v7pVxRVB8mJbdknZ8qPt2nN1bMHXtXEj+o DfNg== 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 f17si1492677oto.85.2020.02.07.04.49.26; Fri, 07 Feb 2020 04:49: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 S1726951AbgBGMs3 (ORCPT + 99 others); Fri, 7 Feb 2020 07:48:29 -0500 Received: from foss.arm.com ([217.140.110.172]:39922 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726674AbgBGMs2 (ORCPT ); Fri, 7 Feb 2020 07:48:28 -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 35630328; Fri, 7 Feb 2020 04:48:28 -0800 (PST) Received: from [10.1.194.46] (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EA02F3F6CF; Fri, 7 Feb 2020 04:48:26 -0800 (PST) Subject: Re: [PATCH v4 4/4] sched/fair: Kill wake_cap() To: Quentin Perret Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, morten.rasmussen@arm.com, adharmap@codeaurora.org, pkondeti@codeaurora.org References: <20200206191957.12325-1-valentin.schneider@arm.com> <20200206191957.12325-5-valentin.schneider@arm.com> <20200207111904.GC239598@google.com> From: Valentin Schneider Message-ID: Date: Fri, 7 Feb 2020 12:48:25 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200207111904.GC239598@google.com> 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 07/02/2020 11:19, Quentin Perret wrote: > On Thursday 06 Feb 2020 at 19:19:57 (+0000), Valentin Schneider wrote: >> From: Morten Rasmussen >> >> Capacity-awareness in the wake-up path previously involved disabling >> wake_affine in certain scenarios. We have just made select_idle_sibling() >> capacity-aware, so this isn't needed anymore. >> >> Remove wake_cap() entirely. >> >> Signed-off-by: Morten Rasmussen >> [Changelog tweaks] >> Signed-off-by: Valentin Schneider > > Reviewed-by: Quentin Perret > > I wanted to suggest removing the CA code from update_sg_wakeup_stats() > which is now called only on fork/exec, but I suppose we still want it > for util_clamp, so n/m. > Good point, I hadn't thought about this. As you say we probably want to keep it since we can fork/exec into a cgroup that has uclamp values already set up, and that would drive task_fits_capacity(). > Thanks for the series, Thanks for the review! > Quentin >