Received: by 10.192.165.148 with SMTP id m20csp4024974imm; Tue, 8 May 2018 01:23:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZosVc44Q3fzA+em+yUcfNS13HDDaiHoaIsWb9EzmUIKGwLRx/xn3rNwzDcQpldxyPCgGdn/ X-Received: by 2002:a63:69c4:: with SMTP id e187-v6mr32016556pgc.415.1525767839793; Tue, 08 May 2018 01:23:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525767839; cv=none; d=google.com; s=arc-20160816; b=iLm4Gw6MqOQKd3zPlFih5Gxbd3ZhPnW1vv8CemZvBF59gIZhUUpo6GVKWUd+aq7oZ7 XYmAtb8VMZWm4nqMMSmX1DX3faOn+AiTzHAvul/K107Hvfoksujt7sYWNmnRLz7ZQbjk QzX/wEnAdSR9mg46pC6aSp2gQ7FA8skHVWPiDFBbV1ohZ6pAiRcKDprxtVr7A+S6Fw7p PSC82k9zPq25Z9F+hzGe3D6V9RGmVYmXBK0ogUoAzkRR52dgBf9g/jBG7l+qZsx6MK1X kJljR2xqjxU8k7Oq8iAXKvpNGl6yHysQ1Bb1CtjJaOC0+FQ8V0g8Bt8Io0RavosE1gkR jKsg== 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=6QJGj+xEK9d3Zgn0qS48yKT2pHhjZGQ9hmR26bB7rDM=; b=iknG+TfsjnOvDyvHQNzIRDjxyHIxJytkoPxNnuKwdDazcA1VChlSrXG7ovpyy71KiZ qycxF8JzBEoezoZkLzKPRdiPODf+dYCrFwxFLq+DF+i/Ov460s2F9BDKbKiodzKg+7ph 2YDY9GcfY9xmQ8E02SAexMBgRpffXSVLbui15rSEdZzORBorXGarkKqgy871qgJfctSA Ut5Rz62ynloG+YATRammJuOTQ8h04xdYtFhhV6L+YF0+J4KOhGApcqkisA356ErRvYcH ULHZZMNcjh3TdH8+X3erX/lWvFg3sNb7YEnEyDADd0bM6uRJjh9gn4wyo16eOKfSe3ct eEIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fp2fFta1; 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 z3-v6si11883366plb.228.2018.05.08.01.23.45; Tue, 08 May 2018 01:23:59 -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=fp2fFta1; 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 S933103AbeEHIWu (ORCPT + 99 others); Tue, 8 May 2018 04:22:50 -0400 Received: from mail-pl0-f45.google.com ([209.85.160.45]:37110 "EHLO mail-pl0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932921AbeEHIWq (ORCPT ); Tue, 8 May 2018 04:22:46 -0400 Received: by mail-pl0-f45.google.com with SMTP id f7-v6so1782708plr.4 for ; Tue, 08 May 2018 01:22:46 -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=6QJGj+xEK9d3Zgn0qS48yKT2pHhjZGQ9hmR26bB7rDM=; b=fp2fFta1KT9HOKA8AWkwmRXuCqEVXaDbOMhXOQ8BGGQ5HvES7jVNN64U83BN+mqcxu UhM8SOa2iJ5kmqSSDFUbfl31qPTUJKKu8BNNLOKTIVX+M05zi46a+RCrl9Oq3rkz6DRH zuE2kG7x08/bu2DLq4lAogd92ZYQyR1/kaiS4= 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=6QJGj+xEK9d3Zgn0qS48yKT2pHhjZGQ9hmR26bB7rDM=; b=JsdGrm3Bv165utHbgSEXdtnBDa7P/ztZjihTKWkCKhZj86ZKAwQv90Nn7YfSxvGkqu 5i32AOyaL1r9LzwI5iZ9MpFrNScFGR7+P8M8cGXA+d1euXhIZ733HtkvPQyRad17wfud 2/27H8Wf4dZJ91S4+aWk/tsF/8woaAkvNnQibeQnzohgLtkw1+2yGYac48mBGtG27qY0 Y+YH6d86erRNOe8rZyYXNm0MfVKQO9Q2/uc73zOXzWgNuyuWRBwvshCFBHzgJeV+RNxG zpRooB6I5p2kGVwy+dlNv4G5q5iEHSKF/TxvNJCuTV8oVABYaO2//kjaIwQsvLbc4tak V1vA== X-Gm-Message-State: ALQs6tDqOn8wcfZYp/lwZk3ioSDbh6fY1T/aquuMFkbnQn9ydiN5ViZa F0Gy5/bmqLP5r+kva6rovc1gDQ== X-Received: by 2002:a17:902:704c:: with SMTP id h12-v6mr26199092plt.269.1525767766119; Tue, 08 May 2018 01:22:46 -0700 (PDT) Received: from localhost ([122.167.163.112]) by smtp.gmail.com with ESMTPSA id x2sm60574540pfk.113.2018.05.08.01.22.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 01:22:45 -0700 (PDT) Date: Tue, 8 May 2018 13:52:42 +0530 From: Viresh Kumar To: Dietmar Eggemann Cc: 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 , Quentin Perret Subject: Re: [PATCH] Revert "cpufreq: schedutil: Don't restrict kthread to related_cpus unnecessarily" Message-ID: <20180508082242.bre6sjfvefhz6xc3@vireshk-i7> References: <20180508073340.13114-1-dietmar.eggemann@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180508073340.13114-1-dietmar.eggemann@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, 08:33, Dietmar Eggemann wrote: > This reverts commit e2cabe48c20efb174ce0c01190f8b9c5f3ea1d13. > > Lifting the restriction that the sugov kthread is bound to the > policy->related_cpus for a system with a slow switching cpufreq driver, > which is able to perform DVFS from any cpu (e.g. cpufreq-dt), is not > only not beneficial it also harms Enery-Aware Scheduling (EAS) on > systems with asymmetric cpu capacities (e.g. Arm big.LITTLE). > > The sugov kthread which does the update for the little cpus could > potentially run on a big cpu. It could prevent that the big cluster goes > into deeper idle states although all the tasks are running on the little > cluster. I think the original patch did the right thing, but that doesn't suit everybody as you explained. I wouldn't really revert the patch but fix my platform's cpufreq driver to set dvfs_possible_from_any_cpu = false, so that other platforms can still benefit from the original commit. -- viresh