Received: by 10.192.165.148 with SMTP id m20csp4132750imm; Tue, 8 May 2018 03:35:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoNNoBpH9I5uihnTCUDO7FgpvfOeQ3tC36Zx0cMm5RmRuDbZB+B0IlVtc8mD6uTXmrczIAR X-Received: by 2002:a63:69c3:: with SMTP id e186-v6mr32255113pgc.353.1525775705798; Tue, 08 May 2018 03:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525775705; cv=none; d=google.com; s=arc-20160816; b=fNco8WFbMLrZYBfqMExaBpYK52vfolqf6DuxVithgSDXR1tjpuZZanfHVTn8/o/M4E Aqg/h/wNx6Zj5fw6Xzr1Pc1PaJWjNpFpRsapG+UcjMAY+M72VktaKx9++rMuk6wNt/ur BWxagTIg/S21au6fWwaVvZaG4+ry07FPiGnVuhvaQ9QNzRHKgHERR3XA6WTGfizVrH/Q k+ea0y4Y/Gn3JMGVfeuCVJHDudGx5cWYpi4ONZRgf/ejXVh8jH/kVXRUYtUi3iA7ENvq 2spHEELevCuxF+T3S1ix2+KxHNrxst9ST+1R5z/DuPm32JwxWhD02OqP4bs+D2lXBzcT zhRA== 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:dkim-signature:arc-authentication-results; bh=b1ZnsNt3guJ6JN6D9ewB0tVBaA4FF+G+3PF2f3NI3ds=; b=iP7mvF+zsGmy0jVs/vkiGncKW6mt/asTuvzEnP0eX5pidZ6yE2T17kainaJS1E1eZd xmgUJU4rUA6zLZiXK4EpSKSo0pIa2w5A2bja5W+KZ2RFCTT2ikO090RgYMCQuEvmP72b hpfCoRVUltrNEyQ9IaLsbhICPO5gYf0T80ZpEwifR1D0W3IrondPbVLiFkFUGDPX0uwb 1dslYUb+I+z8Co7prK6V2xyFMVM67Oq7bemD6/lEq5yDxOyNDhZmPClb+sLAoAeidteA 40gvFBwOH7CewY7SAXsNcPMXT3ieOhGylfPjhfvg/ZJItGf6U99parEUmKp8duaXwwMj t6yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hOhH5xR5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e129si13121731pfa.217.2018.05.08.03.34.51; Tue, 08 May 2018 03:35:05 -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; dkim=pass header.i=@linaro.org header.s=google header.b=hOhH5xR5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932151AbeEHKed (ORCPT + 99 others); Tue, 8 May 2018 06:34:33 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:43176 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754408AbeEHKeb (ORCPT ); Tue, 8 May 2018 06:34:31 -0400 Received: by mail-pf0-f195.google.com with SMTP id j20so9450217pff.10 for ; Tue, 08 May 2018 03:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=b1ZnsNt3guJ6JN6D9ewB0tVBaA4FF+G+3PF2f3NI3ds=; b=hOhH5xR5UXtlsM9/91z+znB6JtzQgz/xp0wIE0+BxXf223XCzy3ByWyOuFWEE84MN3 df81ao5qYnvy4rwfG21ttk9njVpspz6I3y3D4BNLHlFdKCRHUJjB9Dt32rdHamAgv7oy /7Sm+VB7utUYVUi1ld7de8wqdPAnaHwuGwD6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=b1ZnsNt3guJ6JN6D9ewB0tVBaA4FF+G+3PF2f3NI3ds=; b=IroN9lC+Cw+BOrQH2qvrEuGIXjftgczrEqSun8WFUTDd4Wv224IHkF9eAAmQNpKLNF XAxB77M7+PI6zNxw5VlyTeJrBV0pEQ7F2P+XgcOUPKojofWeOvb9BylYbjrVAkLTlRCI g6cYpu6J1wkpiAAGLuRs77TF4QzsOzvvvLdSqoI/2JI9ySaeTkiW7c6A2lltO8a3F3Ok pvHcdetcV53AO9Z81klLkdJlPcuP0J5wx28mBdUQjFYr9kCnB3Vfxa3iFiZ0yKJEKIRR 6vM0yOwXhdFgt4sVHi1sFt3ocvcsie41hVnlWlBioJCPYDemMXMnQkkKT7CY2k1b8/XC Jtxw== X-Gm-Message-State: ALKqPwcc28ecp/sVadoLyNtrIsdeDp1fPZxCAhZtMMCbLddumreruvOk WNrjJH5NqDJqoAs+NTVk7c/zCA== X-Received: by 2002:a63:824a:: with SMTP id w71-v6mr1191144pgd.37.1525775670788; Tue, 08 May 2018 03:34:30 -0700 (PDT) Received: from localhost ([122.167.163.112]) by smtp.gmail.com with ESMTPSA id m22sm56000778pfg.20.2018.05.08.03.34.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 03:34:30 -0700 (PDT) Date: Tue, 8 May 2018 16:04:27 +0530 From: Viresh Kumar To: Quentin Perret 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: <20180508103427.w2rq3vz3f66y4cxh@vireshk-i7> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180508100227.GB3752@e108498-lin.cambridge.arm.com> User-Agent: NeoMutt/20180323-120-3dd1ac Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08-05-18, 11:02, Quentin Perret wrote: > The sugov kthreads are DL tasks so they're not impacted by EAS. But even > if you take EAS out of the picture, those kthreads are assigned to a > "random" CPU at boot time and stay there forever (because that's how DL > works). Is this what we want ? Okay, I didn't knew that DL threads don't migrate at all. I don't think that's what we want then specially for big LITTLE platforms. But for the rest, I don't know. Take example of Qcom krait. Each CPU has a separate policy, why shouldn't we allow other CPUs to run the kthread? > Looking at the commit you mention below it seems that you did the > testing on the old hikey which has only one cpufreq policy. Did you try > on other platforms as well ? Yeah, the testing wasn't performance oriented but rather corner case oriented and it made sense to allow other CPUs to go update the freq for remote CPUs. And that's true for big LITTLE as well, the only question here is which CPUs we want the thread to run on. -- viresh