Received: by 10.192.165.148 with SMTP id m20csp4178537imm; Tue, 8 May 2018 04:25:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp8AXMM6J733YWLAO2mt7dna/yoFCpaI5JuQUOTVoUsSYi+sFH7MmXrcF5dtzfnNApEhDwi X-Received: by 2002:a17:902:ab98:: with SMTP id f24-v6mr14366409plr.144.1525778717504; Tue, 08 May 2018 04:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525778717; cv=none; d=google.com; s=arc-20160816; b=atkQskeHoWT71KA2JvioqTM1UJ5otiyPyKUdjTz8iQiVc4OjOP8NsEzPam+TEb2cUP rWCn0Cg080XaIwMIAOOjI/fjczORDC18UGzG2AZbQFEhOSj636m/XbXvPvt9l/UqV3rc gWmFGm1GVrr+yhN6azaIV/nwHv5RPJOJiICXZTB9LEcGhOs2mNIny7z/clbFkiWmFdj3 oeXWMiaPRM0CgnZGmv+8rgiBnP6R/BsaoMLLD/kkgobfkplcmRL4SmIAaQPEcPlEdUAR plODj1edzuLbutZEIIm/OQhOcOXRhTwhoNGCTjI5biwKB5ajr3SAn9N2iwPB6UcHAQJJ tXrg== 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:arc-authentication-results; bh=dbwCu78XfBnwlmjXniKJKXbfgj/lEl8tgwN7j1CReas=; b=TtgbBWycrSGzinSrVZhJtSig+ZjJgj15r/xRk3sGgUSyVYD1TNmjUOuaEn+jYGYkXp sqUle4O2+uWh5hmE/ktVD5jTY01rfTwIuebyQEbGKCOz9P5IlxEkxc+VJEuvS+5umDHO xke3MPI8m/pupEaIck0xKEOHathqlaJ38+FyB22eTuqye7iRiy1w/mwLM2aHu6g46Plg gQAWCktEGuSgsZ4M1Sqhham466YGCqXEpMX1ac10PfR1H1unGgsHNbJU5BEvwil2pQMS A5/5kukR/DGpXEeJbH+kYRsGCU4bkGDqVX+yuWqB/tF/yRWkTYruJSiJ0o2n9+Qu6C3g aX1w== 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 y67-v6si19161553pgb.35.2018.05.08.04.25.03; Tue, 08 May 2018 04:25:17 -0700 (PDT) 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 S932084AbeEHLYd (ORCPT + 99 others); Tue, 8 May 2018 07:24:33 -0400 Received: from foss.arm.com ([217.140.101.70]:56690 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754642AbeEHLYc (ORCPT ); Tue, 8 May 2018 07:24:32 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 23C8A1529; Tue, 8 May 2018 04:24:32 -0700 (PDT) Received: from e108498-lin.cambridge.arm.com (e108498-lin.cambridge.arm.com [10.1.210.84]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 367D03F318; Tue, 8 May 2018 04:24:30 -0700 (PDT) Date: Tue, 8 May 2018 12:24:25 +0100 From: Quentin Perret To: Viresh Kumar Cc: Dietmar Eggemann , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , linux-pm@vger.kernel.org, Pavan Kondeti , "Rafael J . Wysocki" , Juri Lelli , Joel Fernandes , Patrick Bellasi Subject: Re: [PATCH] Revert "cpufreq: schedutil: Don't restrict kthread to related_cpus unnecessarily" Message-ID: <20180508112424.GA463@e108498-lin.cambridge.arm.com> References: <20180508073340.13114-1-dietmar.eggemann@arm.com> <20180508082242.bre6sjfvefhz6xc3@vireshk-i7> <8cf21b1a-ca6e-fed7-43c5-94c66ff5986b@arm.com> <20180508094526.ajyjrwytguhv4xpe@vireshk-i7> <20180508100227.GB3752@e108498-lin.cambridge.arm.com> <20180508103427.w2rq3vz3f66y4cxh@vireshk-i7> <20180508110003.GC3752@e108498-lin.cambridge.arm.com> <20180508111451.rmoi2rk3md6lhbvl@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180508111451.rmoi2rk3md6lhbvl@vireshk-i7> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 08 May 2018 at 16:44:51 (+0530), Viresh Kumar wrote: > On 08-05-18, 12:00, Quentin Perret wrote: > > Right, I see your point. Now, with the current implementation, why should > > we randomly force a CPU to manage the kthread of another ? IIUC deadline > > should assign the kthreads to CPUs depending on the state of the system > > when the task is created. So, from one boot to another, you could > > theoretically end up with varying configurations, and varying power/perf > > numbers. > > Yeah, if it is fixed at boot then there is no good reason to push it > to any other CPU. I agree. > To be fair, I think that DL tasks _can_ migrate, but only in special conditions (hotplug, or if a DL task wakes up when another DL task is running and things like that IIRC) but that probably doesn't matter much for our discussion here. Thanks, Quentin